refactor(editor): edgeless toolbar lock and unlock actions (#10878)

This commit is contained in:
fundon committed 2025-03-20 02:08:16 +00:00
1 parent bd9b78f7d2
commit 07a64eb004
5 files changed
+277 -79

No files matched your search

@@ -395,6 +395,8 @@ function createToolbarMoreMenuConfigV2(baseUrl?: string) {
],
},
],
when: ctx => !ctx.getSurfaceModels().some(model => model.isLocked()),
} as const satisfies ToolbarModuleConfig;
}