fix: deselectAll 补上 selectedOverlay 清理

This commit is contained in:
2026-05-15 15:27:55 +08:00
parent 7c6128dd6d
commit 396559b2ec

View File

@@ -2386,6 +2386,10 @@
selectedInput = null; selectedInput = null;
hidePositionInfo(); hidePositionInfo();
} }
if (selectedOverlay) {
selectedOverlay.classList.remove('selected');
selectedOverlay = null;
}
// 隐藏编辑器工具栏 // 隐藏编辑器工具栏
editorToolbar.classList.remove('active'); editorToolbar.classList.remove('active');
} }