fix: double click to edit crash

This commit is contained in:
2026-07-20 20:06:06 +07:00
parent f123199855
commit 98af980a41
2 changed files with 2 additions and 2 deletions
Binary file not shown.
+2 -2
View File
@@ -673,7 +673,7 @@
setSelectedClipId(null);
}
if (activeTool === 'pen') {
if (activeTool === 'pen' && !e.ctrlKey) {
if (clickedClip) {
e.preventDefault();
e.stopPropagation();
@@ -684,7 +684,7 @@
return;
}
if (activeTool === 'razor') {
if (activeTool === 'razor' && !e.ctrlKey) {
if (clickedClip) {
e.preventDefault();
e.stopPropagation();