Skip to content

Commit

Permalink
Fixed: scene selection when trying to select ui items
Browse files Browse the repository at this point in the history
  • Loading branch information
kleber-jg committed Apr 19, 2022
1 parent cb2f115 commit 2df667f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scene-view/selection-area/selection-area.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export class SelectionArea extends HTMLElement {

private onMouseUp(e: MouseEvent) {
if (e.button !== 0) return;
if (!this._mouseIsDown) return;
this._mouseIsDown = false;
if (this._handler) {
this._handler.stopHandling(e);
Expand Down

0 comments on commit 2df667f

Please sign in to comment.