3DBAG / 3dbag-viewer

https://3dbag.nl
GNU General Public License v3.0
35 stars 10 forks source link

Object pick behaviour is slightly confusing #87

Open liberostelios opened 2 years ago

liberostelios commented 2 years ago

Right now, we pick objects everytime a pointerup event occurs. This is a bit confusing, as a pointerup might occur both in the case of a click/tap or a pan/rotate.

A solution is to check if the pointer has moved since pointerdown occured, so that we know that this is a single click/tap.