From 96329a9dcd39374baeee1b9b5bec5a09f8943ad3 Mon Sep 17 00:00:00 2001 From: Sergey Malenkov Date: Fri, 8 Aug 2014 19:23:24 +0400 Subject: [PATCH] Do not resize popup, because of an issue on Windows 8. --- .../src/com/intellij/ui/popup/AbstractPopup.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java b/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java index 5565d79fbb90..9b2d298a062e 100644 --- a/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java +++ b/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java @@ -780,11 +780,6 @@ public class AbstractPopup implements JBPopup { if (myMovable) { ScreenUtil.moveRectangleToFitTheScreen(targetBounds); } - else { - Rectangle screen = ScreenUtil.getScreenRectangle(targetBounds.x, targetBounds.y); - targetBounds.width = screen.width; - targetBounds.height = screen.height; - } } if (myMouseOutCanceller != null) {