Skip to content

Commit

Permalink
[Canvas] Fix top left elements being automatically selected on workpa…
Browse files Browse the repository at this point in the history
…d page loads (#72121) (#73321)

* Fix top left elements being automatically selected on workpad page loads

* Remove unnecessary code

Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
poffdeluxe and elasticmachine authored Jul 28, 2020
1 parent de61567 commit 41fa63d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const componentLayoutState = ({
gestureState: aeroStore
? aeroStore.getCurrentState().currentScene.gestureState
: {
cursor: { x: 0, y: 0 },
cursor: { x: Infinity, y: Infinity },
mouseIsDown: false,
mouseButtonState: { buttonState: 'up', downX: null, downY: null },
},
Expand Down

0 comments on commit 41fa63d

Please sign in to comment.