mirror of https://github.com/ppy/osu
Fix `ZoomableScrollContainer` potentially not updating content width on setup
This commit is contained in:
parent
a665013626
commit
0cb9b79834
|
@ -99,9 +99,11 @@ protected void SetupZoom(float initial, float minimum, float maximum)
|
|||
|
||||
minZoom = minimum;
|
||||
maxZoom = maximum;
|
||||
CurrentZoom = zoomTarget = initial;
|
||||
isZoomSetUp = true;
|
||||
|
||||
CurrentZoom = zoomTarget = initial;
|
||||
zoomedContentWidthCache.Invalidate();
|
||||
|
||||
isZoomSetUp = true;
|
||||
zoomedContent.Show();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue