0.6.0
Better dragging (0.6.0)
This release improves dragging by over-extending the collision box of a UI root.
Changes
- Added
collisionOverextensionPixels
property. When greater than 0 (defaults to 16), the collision box is extended by that given amount of pixels on all sides. For example, if unitsPerPixel is 0.01 and the collision is over-extended by 2 pixels, then the collision box is over-extended by 0.02 game units on all sides. - Added
overextendCollisionOnCursorCapture
property. If true (default), then the collision box is only extended when a pointer event is being captured. This alleviates a problem where multiple over-extended UI roots are near each-other, causing issues where their collision boxes overlap