mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 18:46:29 +03:00
ecode: Use default modifier for all the shortcuts using KEYMOD_CTRL.
This commit is contained in:
@@ -424,7 +424,7 @@ bool LSPClientPlugin::onMouseClick( UICodeEditor* editor, const Vector2i& pos,
|
||||
const Uint32& flags ) {
|
||||
Input* input = editor->getUISceneNode()->getWindow()->getInput();
|
||||
Uint32 mod = input->getSanitizedModState();
|
||||
if ( mod != ( KEYMOD_LALT | KEYMOD_CTRL ) || ( flags & EE_BUTTON_LMASK ) == 0 )
|
||||
if ( mod != ( KEYMOD_LALT | KeyMod::getDefaultModifier() ) || ( flags & EE_BUTTON_LMASK ) == 0 )
|
||||
return false;
|
||||
|
||||
auto docPos = editor->resolveScreenPosition( pos.asFloat() );
|
||||
|
||||
Reference in New Issue
Block a user