tooltip fixes

This commit is contained in:
Kirill Kalishev
2010-11-12 16:56:22 +03:00
parent d538e0686d
commit 0719e4a3bc
2 changed files with 3 additions and 1 deletions
@@ -317,7 +317,7 @@ public class IdeTooltipManager implements ApplicationComponent, AWTEventListener
boolean useSystem;
if ("default".equalsIgnoreCase(myMode.asString())) {
useSystem = !SystemInfo.isMac;
useSystem = true;
} else if ("system".equalsIgnoreCase(myMode.asString())) {
useSystem = true;
} else if ("graphite".equalsIgnoreCase(myMode.asString())) {
@@ -125,6 +125,8 @@ public abstract class AbstractValueHint {
}
public boolean isKeepHint(Editor editor, Point point) {
if (myCurrentHint != null && myCurrentHint.canControlAutoHide()) return true;
if(myType == ValueHintType.MOUSE_ALT_OVER_HINT) {
return false;
}