fix: double click to edit crash
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user