mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-166179 [followup] Font size is not preserved after updating to EAP build
JBUI.scaleFontSize shouldn't be used to restore user's font settings as it may screw it.
This commit is contained in:
+1
-1
@@ -525,7 +525,7 @@ public abstract class AbstractColorsScheme implements EditorColorsScheme, Serial
|
||||
if (!isDefault) {
|
||||
size = (fontScale != null) ? size / fontScale : DEFAULT_FONT_SIZE.getSize();
|
||||
}
|
||||
return JBUI.scaleFontSize(size);
|
||||
return (int)JBUI.scale(size);
|
||||
}
|
||||
|
||||
private void readFontSettings(@NotNull Element element,
|
||||
|
||||
Reference in New Issue
Block a user