mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 15:51:37 -05:00
🐛 Fix rulers markers growing with zoom
This commit is contained in:
parent
58f9b2a4e8
commit
85ac766bf9
1 changed files with 3 additions and 1 deletions
|
@ -154,7 +154,9 @@
|
||||||
|
|
||||||
;; These extra operations ensure that we are selecting a frame its initial location is rendered in the ruler
|
;; These extra operations ensure that we are selecting a frame its initial location is rendered in the ruler
|
||||||
minv (+ minv (mod offset step))
|
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 ")")}
|
[:g.rulers {:clipPath (str "url(#" clip-id ")")}
|
||||||
[:defs
|
[:defs
|
||||||
|
|
Loading…
Add table
Reference in a new issue