This commit is contained in:
3djc
2018-10-11 07:09:55 +02:00
parent 53df20c005
commit 7064a9fbcc
3 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ void drawStatusLine();
#define IS_ROTARY_EVENT(evt) (0)
void repeatLastCursorMove(event_t event);
#define REPEAT_LAST_CURSOR_MOVE() repeatLastCursorMove(event)
#define MOVE_CURSOR_FROM_HERE() REPEAT_LAST_CURSOR_MOVE()
#define MOVE_CURSOR_FROM_HERE() if (menuHorizontalPosition > 0) REPEAT_LAST_CURSOR_MOVE()
#endif
// TODO enum
+1 -3
View File
@@ -149,11 +149,9 @@ void menuModelDisplay(event_t event)
}
}
}
#if !defined(PCBXLITE)
else if (attr) {
MOVE_CURSOR_FROM_HERE();
}
#endif
#endif
break;
}
@@ -210,7 +208,7 @@ void menuModelDisplay(event_t event)
}
}
else if (attr) {
menuHorizontalPosition = 0;
MOVE_CURSOR_FROM_HERE();
}
if (attr && s_editMode>0) {
switch (menuHorizontalPosition) {
-2
View File
@@ -571,9 +571,7 @@ void menuRadioSetup(event_t event)
resumePulses();
clearKeyEvents();
}
#if defined(ROTARY_ENCODER_NAVIGATION)
MOVE_CURSOR_FROM_HERE();
#endif
break;
}
}