fix: active dice set container now shows all dice properly
This commit is contained in:
parent
f4bfca5470
commit
e2c7a22629
|
|
@ -126,16 +126,15 @@ void ActiveDiceContainer() {
|
|||
}) {
|
||||
CLAY(CLAY_ID("ActiveDiceInner"), {
|
||||
.layout = {
|
||||
.sizing = { CLAY_SIZING_GROW(), CLAY_SIZING_GROW() },
|
||||
.sizing = { CLAY_SIZING_FIT(), CLAY_SIZING_GROW() },
|
||||
.layoutDirection = CLAY_LEFT_TO_RIGHT,
|
||||
.childAlignment = { CLAY_ALIGN_X_CENTER, CLAY_ALIGN_Y_CENTER },
|
||||
.childAlignment = { CLAY_ALIGN_X_LEFT, CLAY_ALIGN_Y_CENTER },
|
||||
.childGap = 16,
|
||||
.padding = { 100, 100, 0, 0 },
|
||||
},
|
||||
.clip = {
|
||||
true, true,
|
||||
{ Clay_GetScrollOffset().x, 0 },
|
||||
},
|
||||
true, true, { Clay_GetScrollOffset().x, 0 }
|
||||
}
|
||||
}) {
|
||||
size_t dice_count = 0;
|
||||
enum Dice_Die const *dice = Dice_GetActiveSet(&dice_count);
|
||||
|
|
|
|||
Loading…
Reference in a new issue