From b163cceb9d30e6eda0a8e42c425feb025ec3a5d8 Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Sat, 7 Sep 2013 04:11:36 +0200 Subject: [PATCH] Fix: Hint marker rotation was broken --- extension/packages/mode-hints/hints.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extension/packages/mode-hints/hints.coffee b/extension/packages/mode-hints/hints.coffee index 4ccaa33..d98e205 100644 --- a/extension/packages/mode-hints/hints.coffee +++ b/extension/packages/mode-hints/hints.coffee @@ -189,7 +189,7 @@ rotateOverlappingMarkers = (originalMarkers, forward) -> markers = originalMarkers[..] # (#1) - stacks = (@getStackFor(markers.pop(), markers) while markers.length > 0) + stacks = (getStackFor(markers.pop(), markers) while markers.length > 0) # (#2) # Stacks of length 1 don't participate in any overlapping, and can therefore be skipped. @@ -228,7 +228,7 @@ getStackFor = (marker, markers) -> if overlapsVertically and overlapsHorizontally # Also get all markers overlapping this one markers.splice(index, 1) - stack = stack.concat(@getStackFor(nextMarker, markers)) + stack = stack.concat(getStackFor(nextMarker, markers)) else # Continue the search index++ -- 2.39.3