mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2025-10-30 08:03:03 +00:00
Apply min width to element triggering rmlui assert
This commit is contained in:
parent
743fda8128
commit
e696280b4a
2 changed files with 3 additions and 0 deletions
|
|
@ -1656,6 +1656,7 @@ scrollbarhorizontal sliderbar {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
width: 268dp;
|
width: 268dp;
|
||||||
|
min-width: 1dp;
|
||||||
height: 128dp;
|
height: 128dp;
|
||||||
margin-right: 10dp;
|
margin-right: 10dp;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -342,6 +342,8 @@ $stick-size: 200;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
width: space(268);
|
width: space(268);
|
||||||
|
// WORKAROUND FIX: prevents RMLui assert error
|
||||||
|
min-width: 1dp;
|
||||||
height: space(128);
|
height: space(128);
|
||||||
margin-right: space(10);
|
margin-right: space(10);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue