TomaszFurca Posted October 5, 2018 Share Posted October 5, 2018 When i catch onPointerUp event in scene then it is fired twice: https://www.babylonjs-playground.com/#TUNZFH#13 Quote Link to comment Share on other sites More sharing options...
ssaket Posted October 5, 2018 Share Posted October 5, 2018 Indeed ! It's a bug. The _onPointerUp doesn't check for -> if (this.preventDefaultOnPointerDown && canvas) { evt.preventDefault(); canvas.focus(); } Quote Link to comment Share on other sites More sharing options...
ssaket Posted October 5, 2018 Share Posted October 5, 2018 PR - https://github.com/BabylonJS/Babylon.js/pull/5309 Quote Link to comment Share on other sites More sharing options...
Guest Posted October 5, 2018 Share Posted October 5, 2018 @ssaket It is actually a bug but a different one than your feature (which is great by the way) I'll push a fix and merged your PR ssaket 1 Quote Link to comment Share on other sites More sharing options...
ssaket Posted October 5, 2018 Share Posted October 5, 2018 @Deltakosh - Oh... thanks I thought it is because of this only. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.