Skip to content

Commit

Permalink
Fixed issue where setting ScrollContainer.minWidth would result in er…
Browse files Browse the repository at this point in the history
…roneus viewport width. (#1802)
  • Loading branch information
dimensionscape authored Feb 20, 2020
1 parent 7750fd8 commit b776242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/feathers/controls/Scroller.as
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
Feathers
Copyright 2012-2020 Bowler Hat LLC. All Rights Reserved.
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit b776242

Please sign in to comment.