aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorStephen Blott2017-11-01 07:55:46 +0000
committerGitHub2017-11-01 07:55:46 +0000
commit15fc14dc40220af61f988c59378193cdb276a46f (patch)
treee80f465590a3e6a1cebb03c00de902190c9b5ff4 /content_scripts
parentfb081c8963196926cd8c5ab6d16b3d5928f8198f (diff)
parent478426dae8fcff5307b16a4f51bc26c26bfb62b7 (diff)
downloadvimium-15fc14dc40220af61f988c59378193cdb276a46f.tar.bz2
Merge pull request #2558 from mrmr1993/rectsOverlapKill
Simplify rectsOverlap
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/link_hints.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 33a876e0..ea256377 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -321,7 +321,7 @@ class LinkHintsMode
rotateHints: do ->
markerOverlapsStack = (marker, stack) ->
for otherMarker in stack
- return true if Rect.rectsOverlap marker.markerRect, otherMarker.markerRect
+ return true if Rect.intersects marker.markerRect, otherMarker.markerRect
false
->