fixed dropdown position on hidpi
authorEgor.Ushakov <egor.ushakov@jetbrains.com>
Wed, 16 Nov 2016 14:03:29 +0000 (17:03 +0300)
committerEgor.Ushakov <egor.ushakov@jetbrains.com>
Wed, 16 Nov 2016 14:03:29 +0000 (17:03 +0300)
platform/platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionButton.java

index 8867515d173ca3567379d6faacc58adb9c486be1..cc7c1c0fbd46aa027cba820d994f2455f07adad7 100644 (file)
@@ -280,7 +280,7 @@ public class ActionButton extends JComponent implements ActionButtonComponent, A
         y++;
       }
 
-      AllIcons.General.Dropdown.paintIcon(this, g, x, y);
+      AllIcons.General.Dropdown.paintIcon(this, g, JBUI.scale(x), JBUI.scale(y));
     }
   }