mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-12 01:20:13 +03:00
Line-wrap fix performance issue with updates over extremely long lines.
This commit is contained in:
@@ -1664,7 +1664,8 @@ void DebuggerPlugin::displayTooltip( UICodeEditor* editor, const EvaluateInfo& r
|
||||
}
|
||||
|
||||
void DebuggerPlugin::tryHideTooltip( UICodeEditor* editor, const Vector2i& position ) {
|
||||
if ( !mCurrentHover.isValid() ||
|
||||
if ( ( editor->hasDocument() && editor->getDocument().isLoading() ) ||
|
||||
!mCurrentHover.isValid() ||
|
||||
( mCurrentHover.isValid() &&
|
||||
!mCurrentHover.contains( editor->resolveScreenPosition( position.asFloat() ) ) ) )
|
||||
hideTooltip( editor );
|
||||
|
||||
Reference in New Issue
Block a user