mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-141464 Debugger popup dissappears when trying to hover mouse on "+"
This commit is contained in:
+9
-1
@@ -119,7 +119,7 @@ public class ValueLookupManager extends EditorMouseAdapter implements EditorMous
|
||||
showHint(handler, editor, point, type);
|
||||
}
|
||||
}
|
||||
}, handler.getValueLookupDelay(myProject));
|
||||
}, getDelay(handler));
|
||||
}
|
||||
}
|
||||
else {
|
||||
@@ -127,6 +127,14 @@ public class ValueLookupManager extends EditorMouseAdapter implements EditorMous
|
||||
}
|
||||
}
|
||||
|
||||
private int getDelay(QuickEvaluateHandler handler) {
|
||||
int delay = handler.getValueLookupDelay(myProject);
|
||||
if (myRequest != null && !myRequest.isHintHidden()) {
|
||||
delay = Math.max(100, delay); // if hint is showing, delay should not be too small, see IDEA-141464
|
||||
}
|
||||
return delay;
|
||||
}
|
||||
|
||||
public void hideHint() {
|
||||
if (myRequest != null) {
|
||||
myRequest.hideHint();
|
||||
|
||||
Reference in New Issue
Block a user