0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-12 07:41:43 -05:00

🐛 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