From e696280b4a8a36fbe9d1e0bbb1e1cac7fbd28815 Mon Sep 17 00:00:00 2001 From: thecozies <79979276+thecozies@users.noreply.github.com> Date: Tue, 29 Apr 2025 07:29:03 -0500 Subject: [PATCH] Apply min width to element triggering rmlui assert --- assets/recomp.rcss | 1 + assets/scss/styles/components/InputConfig.scss | 2 ++ 2 files changed, 3 insertions(+) diff --git a/assets/recomp.rcss b/assets/recomp.rcss index 0b7bd7b..4aa0135 100644 --- a/assets/recomp.rcss +++ b/assets/recomp.rcss @@ -1656,6 +1656,7 @@ scrollbarhorizontal sliderbar { flex-direction: row; justify-content: space-between; width: 268dp; + min-width: 1dp; height: 128dp; margin-right: 10dp; } diff --git a/assets/scss/styles/components/InputConfig.scss b/assets/scss/styles/components/InputConfig.scss index 71ba960..c01374e 100644 --- a/assets/scss/styles/components/InputConfig.scss +++ b/assets/scss/styles/components/InputConfig.scss @@ -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); }