From b77624203d86986ddacff93cb87b2cd87fcba33c Mon Sep 17 00:00:00 2001 From: Dimensionscape Date: Thu, 20 Feb 2020 10:30:27 -0500 Subject: [PATCH] Fixed issue where setting ScrollContainer.minWidth would result in erroneus viewport width. (#1802) --- source/feathers/controls/Scroller.as | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/feathers/controls/Scroller.as b/source/feathers/controls/Scroller.as index d38fa8688e..789758e347 100644 --- a/source/feathers/controls/Scroller.as +++ b/source/feathers/controls/Scroller.as @@ -1,4 +1,4 @@ -/* +/* Feathers Copyright 2012-2020 Bowler Hat LLC. All Rights Reserved. @@ -4797,7 +4797,7 @@ package feathers.controls { this._viewPort.visibleWidth = visibleWidth; } - this._viewPort.minVisibleWidth = this.actualWidth - horizontalWidthOffset; + this._viewPort.minVisibleWidth = this.actualMinWidth - horizontalWidthOffset; this._viewPort.maxVisibleWidth = this._explicitMaxWidth - horizontalWidthOffset; this._viewPort.minWidth = visibleWidth;