feat(editor): disable clickToDrag for edgeless toolbar shape and mindmap (#11310)

This commit is contained in:
CatsJuice committed 2025-04-04 05:10:05 +00:00
1 parent adbd41130c
commit 46d8d30e62
6 files changed
+51 -5

No files matched your search

@@ -1212,6 +1212,9 @@ export async function triggerComponentToolbarAction(
case 'addMindmap': {
const button = page.locator('edgeless-mindmap-tool-button');
await button.click();
const mindMapMenu = page.locator('edgeless-mindmap-menu');
const mindMapItem = mindMapMenu.locator('.mindmap-item').first();
await mindMapItem.click();
await page.mouse.move(400, 400);
await page.mouse.click(400, 400);
break;