Size the minimaps in whole pixels

This fixes the multimap viewport alignment issue for the last workspaces.
This commit is contained in:
Ole Jørgen Brønner
2017-10-05 16:26:35 +02:00
parent 8a4aeb82ab
commit 90d476b3b0
+2 -2
View File
@@ -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;