diff --git a/common/src/app/common/flags.cljc b/common/src/app/common/flags.cljc index d211648fe7..27519d487c 100644 --- a/common/src/app/common/flags.cljc +++ b/common/src/app/common/flags.cljc @@ -212,6 +212,7 @@ :enable-render-wasm-info :enable-available-viewer-wasm :enable-background-blur + :enable-stroke-path :enable-token-combobox]) (defn parse diff --git a/frontend/src/app/main/ui/workspace/context_menu.cljs b/frontend/src/app/main/ui/workspace/context_menu.cljs index de3cb44049..eb8b06f9cb 100644 --- a/frontend/src/app/main/ui/workspace/context_menu.cljs +++ b/frontend/src/app/main/ui/workspace/context_menu.cljs @@ -506,7 +506,8 @@ :on-click do-transform-to-path}]) (when (and has-strokes? - (features/active-feature? @st/state "render-wasm/v1")) + (features/active-feature? @st/state "render-wasm/v1") + (contains? cf/flags :stroke-path)) [:> menu-entry* {:title (tr "workspace.shape.menu.stroke-to-path") :on-click do-strokes-to-path}])