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