File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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```
Original file line number Diff line number Diff line change 1- // VERSION: 0.13
1+ // VERSION: 0.14
22
33/*
44 NOTE: In order to use this library you must define
You can’t perform that action at this time.
0 commit comments