From b68e79e372574dfd17a226ceee2890498eae91b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Thu, 19 Oct 2017 11:57:33 +0200 Subject: [PATCH] Revert "Make the stack protrude the same amount on the right as left" This reverts commit 3e8415f1046939651a97da0ab2ef4ad64d841be8. This wasn't actually correct. --- minimap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimap.js b/minimap.js index 2f130b0..b1c8332 100644 --- a/minimap.js +++ b/minimap.js @@ -132,7 +132,7 @@ Minimap = new Lang.Class({ let maxProtrusion = 500; let leftStackGap = maxProtrusion/(around); - let rightStackGap = maxProtrusion/(clones.length - around); + let rightStackGap = maxProtrusion/(clones.length - 1 - around); for (let i=0; i < around; i++) { let clone = clones[i]; clone.set_pivot_point(0, 0.5);