mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JBR-8112 Revert swing.bufferPerWindow back to false on Windows
This commit is contained in:
@@ -78,9 +78,7 @@ public abstract class SunGraphicsEnvironment extends GraphicsEnvironment
|
||||
(isWindows_8_1_orUpper() || FontUtilities.isLinux));
|
||||
|
||||
if (uiScaleEnabled && FontUtilities.isWindows) {
|
||||
if (System.getProperty("swing.bufferPerWindow") == null) {
|
||||
System.setProperty("swing.bufferPerWindow", "false"); // todo: until JRE-489 is fixed
|
||||
}
|
||||
System.setProperty("swing.bufferPerWindow", "false"); // todo: until JRE-489 is fixed
|
||||
}
|
||||
debugScale = uiScaleEnabled ? getScaleFactor("sun.java2d.uiScale") : -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user