Skip to content

Commit b07e3ef

Browse files
Fix panel actual_height with scale factor (#601)
* ISSUE-594 fix panel actual_height with scale factor * Update src/PanelWindow.vala Co-authored-by: Leonhard <[email protected]> --------- Co-authored-by: Leonhard <[email protected]>
1 parent ce0dcae commit b07e3ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PanelWindow.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public class Wingpanel.PanelWindow : Gtk.Window {
159159
}
160160

161161
private int get_actual_height () {
162-
if (!Services.DisplayConfig.is_logical_layout () && Gdk.Display.get_default () is Gdk.Wayland.Display) {
162+
if (!Services.DisplayConfig.is_logical_layout ()) {
163163
return get_allocated_height () * get_scale_factor ();
164164
}
165165

0 commit comments

Comments
 (0)