fix: double click to edit crash
This commit is contained in:
Binary file not shown.
@@ -673,7 +673,7 @@
|
|||||||
setSelectedClipId(null);
|
setSelectedClipId(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (activeTool === 'pen') {
|
if (activeTool === 'pen' && !e.ctrlKey) {
|
||||||
if (clickedClip) {
|
if (clickedClip) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
@@ -684,7 +684,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (activeTool === 'razor') {
|
if (activeTool === 'razor' && !e.ctrlKey) {
|
||||||
if (clickedClip) {
|
if (clickedClip) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
|||||||
Reference in New Issue
Block a user