🐛 Fix problem not checking feature flag

This commit is contained in:
alonso.torres
2025-11-18 13:05:29 +01:00
parent 64b892f82d
commit 8fd17c9c84

View File

@@ -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