From a4d5d8787a0cc59269b036bbddb5bc0ad53c2ef3 Mon Sep 17 00:00:00 2001 From: = <=> Date: Sun, 5 Jan 2025 21:15:20 +0100 Subject: [PATCH] [Documentation] Updated example for `Clay_SetPointerState` - just added the second argument as it was missing before --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f4c34a0..2d19696 100644 --- a/README.md +++ b/README.md @@ -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**