We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4bff8e commit 1db1b02Copy full SHA for 1db1b02
src/main/java/com/cleanroommc/modularui/widget/AbstractScrollWidget.java
@@ -71,13 +71,13 @@ public void onResized() {
71
if (this.scroll.getScrollX() != null) {
72
this.scroll.getScrollX().clamp(this.scroll);
73
if (!this.keepScrollBarInArea) {
74
- getArea().width += this.scroll.getScrollY().getThickness();
+ getArea().height += this.scroll.getScrollX().getThickness();
75
}
76
77
if (this.scroll.getScrollY() != null) {
78
this.scroll.getScrollY().clamp(this.scroll);
79
80
- getArea().height += this.scroll.getScrollX().getThickness();
+ getArea().width += this.scroll.getScrollY().getThickness();
81
82
83
0 commit comments