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
4ce3105f58
Fix touch scrolling bug on official website
2024-10-12 13:16:25 +13: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
2cf212e992
Update discord link to permanent and add note for discord link in readme
2024-10-04 10:19:08 +13:00
Nic Barker
761596b36c
Add discord link to official website
2024-10-04 10:05:13 +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
5bb725d005
Fix forward declarations
2024-09-21 08:04:31 +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
c6ab57c638
Add font preload to web renderers and update README
2024-09-17 19:05:59 +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
24d4c5e553
Fix CMake config for clay-official-website example
2024-08-29 08:59:41 +12:00
Nic Barker
52b6b0564e
Improved HTML renderer and official website example
2024-08-28 11:03:20 +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
5e677cafb5
Add scrollbar to official website and improve culling ( #2 )
2024-08-27 10:16:55 +12:00
Nic Barker
e0f7a23f1a
Expose scroll container data and implement scrollbar example ( #1 )
2024-08-26 19:05:43 +12:00
Nic Barker
09fc980434
Set touch-action:none for canvas renderer to prevent mobile issues
2024-08-24 21:32:05 +12:00
Nic Barker
9c5b90e71b
Fixed a typo bug with drag scrolling in scroll containers
2024-08-24 21:27:43 +12:00
Nic Barker
138a1e717f
Fix links being unclickable in canvas renderer
2024-08-23 20:11:34 +12:00
Nic Barker
f5d3ef1ae1
Update website top links
2024-08-23 16:24:11 +12:00
Nic Barker
03a6c6cf5a
initial commit
2024-08-23 16:11:56 +12:00