clay/examples/raylib-sidebar-scrolling-container
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
..
resources initial commit 2024-08-23 16:11:56 +12:00
CMakeLists.txt Cleanup compiler options 2024-10-07 19:30:15 +13:00
main.c Fix scroll on mouse down being overriden by touch scroll 2024-10-14 23:28:45 +02:00
multi-compilation-unit.c [C] Convert element macros to use for() internally (#30) 2024-09-28 15:43:29 +12:00