Commit Graph

17 Commits

Author SHA1 Message Date
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
Nic Barker
9a8775751f Cleanup compiler options 2024-10-07 19:30:15 +13:00
Nic Barker
f579690f5d Improve space allocation for GROW containers 2024-10-07 18:56:13 +13:00
Nic Barker
51082d2f1e
Change lineSpacing text config attribute to lineHeight (#37) 2024-10-05 20:57:52 +13:00
Nic Barker
948b7ce70b
C++20 Support (#31) 2024-09-29 12:53:46 +13:00
Nic Barker
5e7c4c41eb
[C] Convert element macros to use for() internally (#30) 2024-09-28 15:43:29 +12:00
Nic Barker
3b4c177e58
Fix const inits for gcc 9.4 and add docker tests for old gcc compiler (#29) 2024-09-28 07:42:08 +12:00
Severin Denisenko
52b3f6a14e
Use shallow clone on Raylib (#23)
This change reduces time of project configuration from 24 second to 12 seconds
2024-09-22 13:27:29 +12:00
Nic Barker
6430bbbdc3 Fix warnings caused by misname 2024-09-21 08:13:22 +12:00
Nic Barker
332837befd
Fix issues with multiple translation units (#20) 2024-09-20 20:46:48 +12:00
Nic Barker
b2d922c78d Fix a compile bug in update scroll containers 2024-09-20 07:12:11 +12:00
Nic Barker
33888572a3 Remove debug flags and switch example fonts from trilinear filter to bilinear 2024-09-18 10:59:35 +12:00
Nic Barker
a4f90a217d
Debug Tools (#15) 2024-09-16 21:34:59 +12:00
Nic Barker
fd45138d57
Stardardisation / cleanup work for private API functions (#7) 2024-08-30 18:44:36 +12:00
Nic Barker
7d73ccd60d Remove overflow trap flag from the default cmake configuration to prevent issues on windows 2024-08-27 11:37:20 +12:00
Nic Barker
e0f7a23f1a
Expose scroll container data and implement scrollbar example (#1) 2024-08-26 19:05:43 +12:00
Nic Barker
03a6c6cf5a initial commit 2024-08-23 16:11:56 +12:00