refactor(editor): edgeless toolbar lock and unlock actions (#10878)
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user