mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
hide svg rulers when wasm-rulers flag is enabled
This commit is contained in:
parent
68760c8e26
commit
60d2e9c117
@ -138,6 +138,7 @@
|
||||
:render-wasm-dpr
|
||||
;; Show WASM renderer info label (hidden by default).
|
||||
:render-wasm-info
|
||||
:render-wasm-rulers
|
||||
:hide-release-modal
|
||||
:subscriptions
|
||||
:subscriptions-old
|
||||
|
||||
@ -16,6 +16,7 @@
|
||||
[app.common.types.path :as path]
|
||||
[app.common.types.shape :as cts]
|
||||
[app.common.types.shape.layout :as ctl]
|
||||
[app.config :as cfg]
|
||||
[app.main.data.common :as dcm]
|
||||
[app.main.data.workspace.transforms :as dwt]
|
||||
[app.main.data.workspace.variants :as dwv]
|
||||
@ -643,7 +644,7 @@
|
||||
[:& presence/active-cursors
|
||||
{:page-id page-id}])
|
||||
|
||||
(when-not hide-ui?
|
||||
(when-not (or hide-ui? (contains? cfg/flags :render-wasm-rulers))
|
||||
[:& rulers/rulers
|
||||
{:zoom zoom
|
||||
:zoom-inverse zoom-inverse
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user