Skip to content

Commit

Permalink
Fixed miss click on level selection (#1032)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed Jan 9, 2024
1 parent 5b9554c commit 1bc3c99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/electron.renderer/page/Editor.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,9 @@ class Editor extends Page {


public function selectLevel(l:data.Level, fitView=false) {
if( curTool.isRunning() )
curTool.stopUsing(getMouse());

if( l._world!=curWorld )
selectWorld(l._world);

Expand Down

0 comments on commit 1bc3c99

Please sign in to comment.