mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix problem not checking feature flag
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
[app.main.data.workspace.path.shortcuts :as psc]
|
[app.main.data.workspace.path.shortcuts :as psc]
|
||||||
[app.main.data.workspace.shortcuts :as wsc]
|
[app.main.data.workspace.shortcuts :as wsc]
|
||||||
[app.main.data.workspace.text.shortcuts :as tsc]
|
[app.main.data.workspace.text.shortcuts :as tsc]
|
||||||
|
[app.main.features :as features]
|
||||||
[app.main.store :as st]
|
[app.main.store :as st]
|
||||||
[app.main.streams :as ms]
|
[app.main.streams :as ms]
|
||||||
[app.main.ui.hooks :as hooks]
|
[app.main.ui.hooks :as hooks]
|
||||||
@@ -313,7 +314,8 @@
|
|||||||
(filter #(or (root-frame-with-data? %)
|
(filter #(or (root-frame-with-data? %)
|
||||||
(and (cfh/group-shape? objects %)
|
(and (cfh/group-shape? objects %)
|
||||||
(not (contains? child-parent? %)))
|
(not (contains? child-parent? %)))
|
||||||
(and (cfh/text-shape? objects %)
|
(and (features/active-feature? @st/state "render-wasm/v1")
|
||||||
|
(cfh/text-shape? objects %)
|
||||||
(not (wasm.api/intersect-position % @last-point-ref)))))))
|
(not (wasm.api/intersect-position % @last-point-ref)))))))
|
||||||
|
|
||||||
remove-measure-xf
|
remove-measure-xf
|
||||||
|
|||||||
Reference in New Issue
Block a user