littlektframework / littlekt

A multiplatform WebGPU 2D game framework written in Kotlin. Build your own game engine on top.
https://littlekt.com
Apache License 2.0
314 stars 12 forks source link

Update `ScrollContainer` to handle gesture detection for scrolling with flinging / touch #168

Closed LeHaine closed 1 year ago

LeHaine commented 1 year ago

Currently ScrollContainer can only scroll by clicking and dragging the scrollbars or mouse wheel. We need to be able to handle dragging the mouse / touch & flinging.