mirror of
https://github.com/nicbarker/clay.git
synced 2025-09-18 12:36:17 +00:00
[Core] Fix a bug where floating elements would be incorrectly configured
This commit is contained in:
parent
20340f6544
commit
a60b977946
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
clay.h
2
clay.h
|
@ -1918,7 +1918,7 @@ void Clay__ConfigureOpenElement(const Clay_ElementDeclaration declaration) {
|
||||||
.clipElementId = clipElementId,
|
.clipElementId = clipElementId,
|
||||||
.zIndex = floatingConfig.zIndex,
|
.zIndex = floatingConfig.zIndex,
|
||||||
});
|
});
|
||||||
Clay__AttachElementConfig(CLAY__INIT(Clay_ElementConfigUnion) { .floatingElementConfig = Clay__StoreFloatingElementConfig(declaration.floating) }, CLAY__ELEMENT_CONFIG_TYPE_FLOATING);
|
Clay__AttachElementConfig(CLAY__INIT(Clay_ElementConfigUnion) { .floatingElementConfig = Clay__StoreFloatingElementConfig(floatingConfig) }, CLAY__ELEMENT_CONFIG_TYPE_FLOATING);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (declaration.custom.customData) {
|
if (declaration.custom.customData) {
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue