mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
change checkAndFixEditorLineSpacing(int) signature
This commit is contained in:
+2
-2
@@ -37,8 +37,8 @@ public class EditorFontsConstants {
|
||||
return round(getMinEditorFontSize(), getMaxEditorFontSize(), size);
|
||||
}
|
||||
|
||||
public static float checkAndFixEditorLineSpacing(int size) {
|
||||
return round(getMinEditorLineSpacing(), getMaxEditorLineSpacing(), size);
|
||||
public static float checkAndFixEditorLineSpacing(float lineSpacing) {
|
||||
return round(getMinEditorLineSpacing(), getMaxEditorLineSpacing(), lineSpacing);
|
||||
}
|
||||
|
||||
private static int round(int min, int max, int val) {
|
||||
|
||||
Reference in New Issue
Block a user