Skip to content
Snippets Groups Projects
Commit c2151045 authored by Eric Rosenbaum's avatar Eric Rosenbaum
Browse files

Only deselect-outside if there’s a selection

parent 0b9969c4
No related branches found
No related tags found
No related merge requests found
...@@ -384,7 +384,7 @@ class SoundEditor extends React.Component { ...@@ -384,7 +384,7 @@ class SoundEditor extends React.Component {
} }
handleContainerClick (e) { handleContainerClick (e) {
// If the click is on the sound editor's div (and not any other element), delesect // If the click is on the sound editor's div (and not any other element), delesect
if (e.target === this.ref) { if (e.target === this.ref && this.state.trimStart !== null) {
this.handleUpdateTrim(null, null); this.handleUpdateTrim(null, null);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment