mirror of
https://github.com/penpot/penpot.git
synced 2026-07-23 22:48:12 +00:00
✨ Remove guides from svg overlay
This commit is contained in:
parent
f5874e159e
commit
3af47d5351
@ -824,6 +824,15 @@
|
||||
[:& presence/active-cursors
|
||||
{:page-id page-id}])
|
||||
|
||||
(when-not hide-ui?
|
||||
[:> rulers/rulers*
|
||||
{:zoom zoom
|
||||
:zoom-inverse zoom-inverse
|
||||
:vbox vbox
|
||||
:selected-shapes selected-shapes
|
||||
:offset-x offset-x
|
||||
:offset-y offset-y
|
||||
:show-rulers show-rulers?}])
|
||||
(when (and show-rulers? show-grids?)
|
||||
[:> guides/viewport-guides*
|
||||
{:zoom zoom
|
||||
@ -833,6 +842,18 @@
|
||||
:disabled-guides disabled-guides?
|
||||
:modifiers wasm-modifiers}])
|
||||
|
||||
;; NOTE: ruler guides are being migrated to the WASM render engine.
|
||||
;; The SVG-overlay rendering is temporarily disabled while we implement
|
||||
;; the new path.
|
||||
#_(when (and show-rulers? show-grids?)
|
||||
[:> guides/viewport-guides*
|
||||
{:zoom zoom
|
||||
:vbox vbox
|
||||
:guides guides
|
||||
:hover-frame guide-frame
|
||||
:disabled-guides disabled-guides?
|
||||
:modifiers wasm-modifiers}])
|
||||
|
||||
;; DEBUG LAYOUT DROP-ZONES
|
||||
(when (dbg/enabled? :layout-drop-zones)
|
||||
[:> wvd/debug-drop-zones* {:selected-shapes selected-shapes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user