File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ private void initComponents() {
31
31
32
32
// Fix Linux row height
33
33
int origHeight = getRowHeight ();
34
- if (SystemUtilities .getWindowScaleFactor () != 1 ) {
34
+ if (SystemUtilities .getWindowScaleFactor () > 1 ) {
35
35
setRowHeight ((int )(origHeight * SystemUtilities .getWindowScaleFactor ()));
36
36
}
37
37
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public static double getScaleFactor() {
31
31
} catch (Throwable t ) {
32
32
log .warn ("An error occurred initializing the Gtk library" , t );
33
33
}
34
- return 0 ;
34
+ return 1 ;
35
35
}
36
36
37
37
private static GTK getGtkInstance () {
@@ -88,7 +88,7 @@ private static double getGtk3ScaleFactor(GTK3 gtk3) {
88
88
Pointer screen = gtk3 .gdk_display_get_default_screen (display );
89
89
return gtk3 .gdk_screen_get_monitor_scale_factor (screen , 0 );
90
90
}
91
- return 0 ;
91
+ return 1 ;
92
92
}
93
93
94
94
/**
You can’t perform that action at this time.
0 commit comments