Apply min width to element triggering rmlui assert

This commit is contained in:
thecozies
2025-04-29 07:29:03 -05:00
parent 743fda8128
commit e696280b4a
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);
}