mirror of
https://github.com/nicbarker/clay.git
synced 2026-02-06 12:48:49 +00:00
[Documentation] Fix README typo, bump version number to 0.14
This commit is contained in:
parent
58491394ca
commit
8bbe14fbcc
2 changed files with 3 additions and 3 deletions
|
|
@ -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 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
|
// Scrolling contents
|
||||||
}
|
}
|
||||||
// .childOffset can be provided directly if you would prefer to manage scrolling outside of clay
|
// .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
|
// Scrolling contents
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
2
clay.h
2
clay.h
|
|
@ -1,4 +1,4 @@
|
||||||
// VERSION: 0.13
|
// VERSION: 0.14
|
||||||
|
|
||||||
/*
|
/*
|
||||||
NOTE: In order to use this library you must define
|
NOTE: In order to use this library you must define
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue