mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-131773 Fix mac shortcuts handling on Ubuntu
This commit is contained in:
@@ -515,11 +515,7 @@ public class UIUtil {
|
||||
char c = e.getKeyChar();
|
||||
if (c < 0x20 || c == 0x7F) return false;
|
||||
|
||||
if (SystemInfo.isMac) {
|
||||
return !e.isMetaDown() && !e.isControlDown();
|
||||
}
|
||||
|
||||
return !e.isAltDown() && !e.isControlDown();
|
||||
return !e.isMetaDown() && !e.isAltDown() && !e.isControlDown();
|
||||
}
|
||||
|
||||
public static int getStringY(@NotNull final String string, @NotNull final Rectangle bounds, @NotNull final Graphics2D g) {
|
||||
|
||||
Reference in New Issue
Block a user