mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-16 07:52:50 +03:00
MouseBindings in UICodeEditor WIP.
This commit is contained in:
@@ -644,7 +644,7 @@ bool LSPClientPlugin::onMouseClick( UICodeEditor* editor, const Vector2i& pos,
|
||||
}
|
||||
}
|
||||
|
||||
Input* input = editor->getUISceneNode()->getWindow()->getInput();
|
||||
Input* input = editor->getInput();
|
||||
Uint32 mod = input->getSanitizedModState();
|
||||
if ( mod != ( KEYMOD_LALT | KeyMod::getDefaultModifier() ) || ( flags & EE_BUTTON_LMASK ) == 0 )
|
||||
return false;
|
||||
@@ -1642,8 +1642,7 @@ void LSPClientPlugin::hideTooltip( UICodeEditor* editor ) {
|
||||
}
|
||||
|
||||
static TextPosition currentMouseTextPosition( UICodeEditor* editor ) {
|
||||
return editor->resolveScreenPosition(
|
||||
editor->getUISceneNode()->getWindow()->getInput()->getMousePos().asFloat() );
|
||||
return editor->resolveScreenPosition( editor->getInput()->getMousePos().asFloat() );
|
||||
}
|
||||
|
||||
void LSPClientPlugin::tryHideTooltip( UICodeEditor* editor, const Vector2i& position ) {
|
||||
|
||||
Reference in New Issue
Block a user