mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Upscale playfield by difference in game height as well
I honestly don't have much clue about this one but doing so matches master.
This commit is contained in:
parent
f5ce9eaf75
commit
fa2c33c641
@ -53,7 +53,7 @@ namespace osu.Game.Rulesets.Taiko.UI
|
|||||||
// Note that the relative height cannot exceed one-third - if that limit is hit, the playfield will be exactly centered.
|
// Note that the relative height cannot exceed one-third - if that limit is hit, the playfield will be exactly centered.
|
||||||
Y = relativeHeight;
|
Y = relativeHeight;
|
||||||
|
|
||||||
Scale = new Vector2(Math.Max(relativeHeight / base_relative_height, 1f));
|
Scale = new Vector2(Math.Max((Parent!.ChildSize.Y / 768f) * (relativeHeight / base_relative_height), 1f));
|
||||||
Width = 1 / Scale.X;
|
Width = 1 / Scale.X;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user