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 ac5eb9a commit 016e54cCopy full SHA for 016e54c
MLEM.Ui/Elements/Panel.cs
@@ -355,6 +355,7 @@ protected virtual void ScrollSetup() {
355
// the scroller height has the same relation to the scroll bar height as the visible area has to the total height of the panel's content
356
var scrollerHeight = Math.Min(this.ChildPaddedArea.Height / childrenHeight / this.Scale, 1) * this.ScrollBar.Area.Height;
357
this.ScrollBar.ScrollerSize = new Vector2(this.ScrollerSize.Value.X, Math.Max(this.ScrollerSize.Value.Y, scrollerHeight));
358
+ this.ScrollBar.UpdateAreaIfDirty();
359
}
360
361
// update the render target
0 commit comments