ESC global amb doble pulsació: F12=pausa, BACKSPACE=cancel, text pausa més clar
This commit is contained in:
@@ -619,14 +619,10 @@ void Title::render() {
|
||||
}
|
||||
}
|
||||
|
||||
// Comprueba las entradas
|
||||
// Comprueba las entradas. ESC (Action::EXIT) ja el gestiona
|
||||
// GlobalInputs::handle() amb doble pulsació; el quit es propaga via
|
||||
// Director::iterate.
|
||||
void Title::checkInput() {
|
||||
#ifndef __EMSCRIPTEN__
|
||||
if (Input::get()->checkInput(Input::Action::EXIT, Input::Repeat::OFF)) {
|
||||
section_->name = SECTION_PROG_QUIT;
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
GlobalInputs::handle();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user