mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:47:26 +08:00
Fix ZoomableScrollContainer
potentially not updating content width on setup
This commit is contained in:
parent
a665013626
commit
0cb9b79834
@ -99,9 +99,11 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
|||||||
|
|
||||||
minZoom = minimum;
|
minZoom = minimum;
|
||||||
maxZoom = maximum;
|
maxZoom = maximum;
|
||||||
CurrentZoom = zoomTarget = initial;
|
|
||||||
isZoomSetUp = true;
|
|
||||||
|
|
||||||
|
CurrentZoom = zoomTarget = initial;
|
||||||
|
zoomedContentWidthCache.Invalidate();
|
||||||
|
|
||||||
|
isZoomSetUp = true;
|
||||||
zoomedContent.Show();
|
zoomedContent.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user