This commit is contained in:
Martín Lucas Golini
2024-02-01 15:05:01 -03:00
parent 30051cf6b4
commit 8cbc5806f0
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -916,7 +916,7 @@ Uint32 UICodeEditor::onTextInput( const TextInputEvent& event ) {
if ( ( input->isLeftAltPressed() && !event.getText().empty() && event.getText()[0] == '\t' ) ||
( input->isLeftControlPressed() && !input->isLeftAltPressed() &&
!input->isAltGrPressed() ) ||
input->isMetaPressed() || input->isLeftAltPressed() )
input->isMetaPressed() || ( input->isLeftAltPressed() && !input->isLeftControlPressed() ) )
return 0;
if ( mLastExecuteEventId == getUISceneNode()->getWindow()->getInput()->getEventsSentId() )
+1 -1
View File
@@ -901,7 +901,7 @@ Uint32 UIConsole::onTextInput( const TextInputEvent& event ) {
if ( ( input->isLeftAltPressed() && !event.getText().empty() && event.getText()[0] == '\t' ) ||
( input->isLeftControlPressed() && !input->isLeftAltPressed() &&
!input->isAltGrPressed() ) ||
input->isMetaPressed() || input->isLeftAltPressed() )
input->isMetaPressed() || ( input->isLeftAltPressed() && !input->isLeftControlPressed() ) )
return 0;
if ( mLastExecuteEventId == getUISceneNode()->getWindow()->getInput()->getEventsSentId() )
+1 -1
View File
@@ -791,7 +791,7 @@ Uint32 UITextInput::onTextInput( const TextInputEvent& event ) {
if ( ( input->isLeftAltPressed() && !event.getText().empty() && event.getText()[0] == '\t' ) ||
( input->isLeftControlPressed() && !input->isLeftAltPressed() &&
!input->isAltGrPressed() ) ||
input->isMetaPressed() || input->isLeftAltPressed() )
input->isMetaPressed() || ( input->isLeftAltPressed() && !input->isLeftControlPressed() ) )
return 0;
if ( mLastExecuteEventId == getUISceneNode()->getWindow()->getInput()->getEventsSentId() )
@@ -423,7 +423,7 @@ Uint32 UITerminal::onTextInput( const TextInputEvent& event ) {
if ( ( input->isLeftAltPressed() && !event.getText().empty() && event.getText()[0] == '\t' ) ||
( input->isLeftControlPressed() && !input->isLeftAltPressed() &&
!input->isAltGrPressed() ) ||
input->isMetaPressed() || input->isLeftAltPressed() )
input->isMetaPressed() || ( input->isLeftAltPressed() && !input->isLeftControlPressed() ) )
return 0;
mTerm->onTextInput( event.getChar() );