Apply min width to element triggering rmlui assert (#573)

This commit is contained in:
thecozies 2025-04-29 08:03:09 -05:00 committed by GitHub
parent 743fda8128
commit 2d9dd10ddd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -1656,6 +1656,7 @@ scrollbarhorizontal sliderbar {
flex-direction: row;
justify-content: space-between;
width: 268dp;
min-width: 1dp;
height: 128dp;
margin-right: 10dp;
}

View file

@ -342,6 +342,8 @@ $stick-size: 200;
flex-direction: row;
justify-content: space-between;
width: space(268);
// WORKAROUND FIX: prevents RMLui assert error
min-width: 1dp;
height: space(128);
margin-right: space(10);
}