From 8bbe14fbcc9e1fd0d1cd4930ddc3d9c303240d98 Mon Sep 17 00:00:00 2001 From: Nic Barker Date: Fri, 6 Jun 2025 10:20:37 +1000 Subject: [PATCH] [Documentation] Fix README typo, bump version number to 0.14 --- README.md | 4 ++-- clay.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 93296c7..25f4a16 100644 --- a/README.md +++ b/README.md @@ -360,11 +360,11 @@ Clay_UpdateScrollContainers( ); // ... // Clay internally tracks the scroll containers offset, and Clay_GetScrollOffset returns the x,y offset of the currently open element -CLAY({ .clip = vertical, .childOffset = Clay_GetScrollOffset() }) { +CLAY({ .clip = { .vertical = true, .childOffset = Clay_GetScrollOffset() } }) { // Scrolling contents } // .childOffset can be provided directly if you would prefer to manage scrolling outside of clay -CLAY({ .clip = vertical, .childOffset = myData.scrollContainer.offset }) { +CLAY({ .clip = { .vertical = true, .childOffset = myData.scrollContainer.offset } }) { // Scrolling contents } ``` diff --git a/clay.h b/clay.h index 1deec93..8ee7f50 100644 --- a/clay.h +++ b/clay.h @@ -1,4 +1,4 @@ -// VERSION: 0.13 +// VERSION: 0.14 /* NOTE: In order to use this library you must define