mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-10-24 15:38:30 -04:00
EGD-2180 put GUI_REFERSH_FAST in the parent method
This commit is contained in:
1 parent
f9b6f8fb40
commit
44d8281eff
17 files changed
+20
-110
No files matched your search
@@ -97,19 +97,6 @@ void NotesEditWindow::onBeforeShow( ShowMode mode, SwitchData* data ) {
|
||||
setFocusItem( text );
|
||||
}
|
||||
|
||||
bool NotesEditWindow::onInput( const InputEvent& inputEvent ) {
|
||||
//check if any of the lower inheritance onInput methods catch the event
|
||||
if( AppWindow::onInput( inputEvent ) ) {
|
||||
//refresh window only when key is other than enter
|
||||
if( inputEvent.keyCode != KeyCode::KEY_ENTER ) {
|
||||
application->render( RefreshModes::GUI_REFRESH_FAST );
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
} /* namespace gui */
|
||||
|
||||
|
||||
Reference in new issue
Block a user