Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Sep 9, 2024
1 parent da94a4b commit bf5192a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/lib/shortcuts.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const Shortcuts = {

var keyCode = event.keyCode;

// esc: close inspector
// esc: unselect entity
if (keyCode === 27) {
if (this.inspector.selectedEntity) {
this.inspector.selectEntity(null);
Expand Down

0 comments on commit bf5192a

Please sign in to comment.