mirror of
https://github.com/nicbarker/clay.git
synced 2026-02-06 12:48:49 +00:00
Switch .scroll usage to .clip
This commit is contained in:
parent
f9ebeced60
commit
fd281f4f86
4 changed files with 59 additions and 34 deletions
|
|
@ -127,7 +127,7 @@ Clay_RenderCommandArray CreateLayout(void) {
|
|||
.attachTo = CLAY_ATTACH_TO_ELEMENT_WITH_ID,
|
||||
.offset = { .y = -(scrollData.scrollPosition->y / scrollData.contentDimensions.height) * scrollData.scrollContainerDimensions.height },
|
||||
.zIndex = 1,
|
||||
.parentId = Clay_GetElementId(CLAY_STRING("MainContent")).id,
|
||||
.parentId = 55,
|
||||
.attachPoints = { .element = CLAY_ATTACH_POINT_RIGHT_TOP, .parent = CLAY_ATTACH_POINT_RIGHT_TOP }
|
||||
}
|
||||
}) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue