refactor: key handling (#4849)
This commit is contained in:
@@ -262,7 +262,6 @@ void menuModelExposAll(event_t event)
|
||||
case EVT_KEY_LONG(KEY_EXIT):
|
||||
if (s_copyMode && s_copyTgtOfs == 0) {
|
||||
deleteExpo(s_currIdx);
|
||||
killEvents(event);
|
||||
event = 0;
|
||||
}
|
||||
// no break
|
||||
@@ -297,7 +296,6 @@ void menuModelExposAll(event_t event)
|
||||
}
|
||||
// no break
|
||||
case EVT_KEY_LONG(KEY_ENTER):
|
||||
killEvents(event);
|
||||
if (s_copyTgtOfs) {
|
||||
s_copyMode = 0;
|
||||
s_copyTgtOfs = 0;
|
||||
@@ -335,7 +333,6 @@ void menuModelExposAll(event_t event)
|
||||
// insertExpo(s_currIdx);
|
||||
// pushMenu(menuModelExpoOne);
|
||||
// s_copyMode = 0;
|
||||
// killEvents(event);
|
||||
// }
|
||||
// break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user