mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-20 21:28:03 +00:00
[Documentation] Updated example for Clay_SetPointerState
- just added the second argument as it was missing before
This commit is contained in:
parent
6cb9c7c483
commit
a4d5d8787a
@ -245,7 +245,7 @@ This ID (or, if not provided, an auto generated ID) will be forwarded to the fin
|
||||
|
||||
Clay provides several functions for handling mouse and pointer interactions.
|
||||
|
||||
All pointer interactions depend on the function `void Clay_SetPointerState(Clay_Vector2 position)` being called after each mouse position update and before any other clay functions.
|
||||
All pointer interactions depend on the function `void Clay_SetPointerState(Clay_Vector2 position, bool isPointerDown)` being called after each mouse position update and before any other clay functions.
|
||||
|
||||
**During UI declaration**
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user