mirror of
https://github.com/penpot/penpot.git
synced 2026-03-19 08:53:39 +00:00
🐛 Fix rulers markers growing with zoom
This commit is contained in:
committed by
Andrey Antukh
parent
58f9b2a4e8
commit
85ac766bf9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user