clay/examples
Richard Hozák 01e018b54c Fix scroll on mouse down being overriden by touch scroll
Fixes unexpected behavior when clicking on scrollbar with mouse,
the view would scroll the opposite direction as it would with touch scroll.

This behavior is unexpected with mouse.

The bug was probably caused by Clay_SetPointerState overriding scrollbarData
and using the pointer state as scroll information for the container
behind the scrollbar instead using the scrollbarData.

This fixes that behavior by not passing mouse down, when mouse down is captured by scrollbar.
2024-10-14 23:28:45 +02:00
..
clay-official-website Fix touch scrolling bug on official website 2024-10-12 13:16:25 +13:00
cpp-project-example C++20 Support (#31) 2024-09-29 12:53:46 +13:00
raylib-sidebar-scrolling-container Fix scroll on mouse down being overriden by touch scroll 2024-10-14 23:28:45 +02:00