Skip to content

Commit 8bbe14f

Browse files
committed
[Documentation] Fix README typo, bump version number to 0.14
1 parent 5849139 commit 8bbe14f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,11 @@ Clay_UpdateScrollContainers(
360360
);
361361
// ...
362362
// Clay internally tracks the scroll containers offset, and Clay_GetScrollOffset returns the x,y offset of the currently open element
363-
CLAY({ .clip = vertical, .childOffset = Clay_GetScrollOffset() }) {
363+
CLAY({ .clip = { .vertical = true, .childOffset = Clay_GetScrollOffset() } }) {
364364
// Scrolling contents
365365
}
366366
// .childOffset can be provided directly if you would prefer to manage scrolling outside of clay
367-
CLAY({ .clip = vertical, .childOffset = myData.scrollContainer.offset }) {
367+
CLAY({ .clip = { .vertical = true, .childOffset = myData.scrollContainer.offset } }) {
368368
// Scrolling contents
369369
}
370370
```

clay.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// VERSION: 0.13
1+
// VERSION: 0.14
22

33
/*
44
NOTE: In order to use this library you must define

0 commit comments

Comments
 (0)