mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
WI-14476 When hovering over variable, Expression Evaluation tooltip disappears before I can click the + icon (cherry picked from commit 3034e98)
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
package com.intellij.debugger.ui;
|
||||
|
||||
import com.intellij.codeInsight.daemon.impl.DaemonListeners;
|
||||
import com.intellij.debugger.DebuggerBundle;
|
||||
import com.intellij.debugger.DebuggerInvocationUtil;
|
||||
import com.intellij.debugger.SourcePosition;
|
||||
@@ -131,9 +130,9 @@ public class PositionHighlighter {
|
||||
|
||||
private static void adjustCounter(@NotNull Editor editor, int increment) {
|
||||
JComponent component = editor.getComponent();
|
||||
Object o = component.getClientProperty(DaemonListeners.IGNORE_MOUSE_TRACKING);
|
||||
Object o = component.getClientProperty(Editor.IGNORE_MOUSE_TRACKING);
|
||||
Integer value = ((o instanceof Integer) ? (Integer)o : 0) + increment;
|
||||
component.putClientProperty(DaemonListeners.IGNORE_MOUSE_TRACKING, value > 0 ? value : null);
|
||||
component.putClientProperty(Editor.IGNORE_MOUSE_TRACKING, value > 0 ? value : null);
|
||||
}
|
||||
|
||||
public void remove() {
|
||||
|
||||
Reference in New Issue
Block a user