🐛 Fix rulers markers growing with zoom

This commit is contained in:
alonso.torres
2024-02-28 17:51:54 +01:00
committed by Andrey Antukh
parent 58f9b2a4e8
commit 85ac766bf9

View File

@@ -154,7 +154,9 @@
;; These extra operations ensure that we are selecting a frame its initial location is rendered in the ruler
minv (+ minv (mod offset step))
maxv (+ maxv (mod offset step))]
maxv (+ maxv (mod offset step))
rulers-width (* rulers-width zoom-inverse)]
[:g.rulers {:clipPath (str "url(#" clip-id ")")}
[:defs