mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:07:44 +08:00
Move comment to more fitting place
This commit is contained in:
parent
6d018c08af
commit
caad931a16
@ -244,12 +244,12 @@ namespace osu.Game.Rulesets.Edit
|
||||
{
|
||||
base.Update();
|
||||
|
||||
// Ensure that the playfield is always centered but also doesn't get cut off by toolboxes.
|
||||
if (ApplyHorizontalCentering)
|
||||
{
|
||||
PlayfieldContentContainer.Anchor = Anchor.Centre;
|
||||
PlayfieldContentContainer.Origin = Anchor.Centre;
|
||||
|
||||
// Ensure that the playfield is always centered but also doesn't get cut off by toolboxes.
|
||||
PlayfieldContentContainer.Width = Math.Max(1024, DrawWidth) - TOOLBOX_CONTRACTED_SIZE_RIGHT * 2;
|
||||
PlayfieldContentContainer.X = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user