EGD-2180 put GUI_REFERSH_FAST in the parent method

This commit is contained in:
Alek
2019-10-21 21:56:22 +02:00
parent f9b6f8fb40
commit 44d8281eff
17 changed files with 20 additions and 110 deletions

View File

@@ -85,16 +85,7 @@ void ThreadViewWindow::onBeforeShow(ShowMode mode, SwitchData *data) {
}
bool ThreadViewWindow::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;
return AppWindow::onInput( inputEvent );
}
bool ThreadViewWindow::onDatabaseMessage( sys::Message* msgl ) {