mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-06 03:56:53 +00:00
Size the minimaps in whole pixels
This fixes the multimap viewport alignment issue for the last workspaces.
This commit is contained in:
+2
-2
@@ -229,8 +229,8 @@ MultiMap = function() {
|
||||
s.minimap.visible = true;
|
||||
s.minimap.refresh();
|
||||
s.minimap.fold(undefined, false);
|
||||
wrapper.width = s.minimap.width * s.minimap.scale_x;
|
||||
wrapper.height = s.minimap.height * s.minimap.scale_y;
|
||||
wrapper.width = Math.ceil(s.minimap.width * s.minimap.scale_x);
|
||||
wrapper.height = Math.ceil(s.minimap.height * s.minimap.scale_y);
|
||||
minimaps.push(s.minimap);
|
||||
})
|
||||
let rowHeight = multimap.first_child.height;
|
||||
|
||||
Reference in New Issue
Block a user