Skip to content

Commit

Permalink
🐛 Fix double-click icon-picker closing
Browse files Browse the repository at this point in the history
  • Loading branch information
Schneegans committed May 24, 2024
1 parent d62aebe commit b708c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/editor/properties/icon-picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export class IconPicker extends EventEmitter {

// When the user double-clicks an icon, emit the close event.
iconDiv.addEventListener('dblclick', () => {
this.close();
this.hide();
});
}

Expand Down

0 comments on commit b708c7f

Please sign in to comment.