Fix ScalableContainer irrepairably altering content size

This commit is contained in:
smoogipoo
2018-04-02 13:04:47 +09:00
parent cc70f7182a
commit 551ba6ac4b
6 changed files with 38 additions and 25 deletions

View File

@ -290,7 +290,7 @@ namespace osu.Game.Rulesets.UI
base.SetReplay(replay);
if (ReplayInputManager?.ReplayInputHandler != null)
ReplayInputManager.ReplayInputHandler.ToScreenSpace = input => Playfield.ScaledContent.ToScreenSpace(input);
ReplayInputManager.ReplayInputHandler.GamefieldToScreenSpace = Playfield.GamefieldToScreenSpace;
}
/// <summary>