mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-20 06:29:02 +00:00
Text entry should be more stable
Text entry now allows for strings greater than 28 chars Frequency manager save with name bugfix
This commit is contained in:
@@ -186,7 +186,7 @@ void LCRView::start_tx(const bool scan) {
|
||||
}
|
||||
|
||||
void LCRView::on_button_setam(NavigationView& nav, Button& button) {
|
||||
text_entry(nav, litteral[button.id], 7);
|
||||
text_entry(nav, &litteral[button.id], 7);
|
||||
}
|
||||
|
||||
LCRView::LCRView(NavigationView& nav) {
|
||||
@@ -247,7 +247,7 @@ LCRView::LCRView(NavigationView& nav) {
|
||||
rectangle.set_parent_rect({
|
||||
static_cast<Coord>(98),
|
||||
static_cast<Coord>(n * 32 + 68 - 2),
|
||||
64, 20
|
||||
68, 20
|
||||
});
|
||||
rectangle.set_color(ui::Color::grey());
|
||||
rectangle.set_outline(true);
|
||||
@@ -263,7 +263,7 @@ LCRView::LCRView(NavigationView& nav) {
|
||||
button_scan.set_style(&style_val);
|
||||
|
||||
button_setrgsb.on_select = [this,&nav](Button&) {
|
||||
text_entry(nav, rgsb, 4);
|
||||
text_entry(nav, &rgsb, 4);
|
||||
};
|
||||
|
||||
button_txsetup.on_select = [&nav](Button&) {
|
||||
|
||||
Reference in New Issue
Block a user