1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 14:07:25 +08:00

Make BeatmapOptionsButton insertion cleaner

This commit is contained in:
Roman Kapustin 2019-07-01 18:42:18 +03:00
parent 7bdf737956
commit 9037fb59de

View File

@ -110,8 +110,7 @@ namespace osu.Game.Screens.Select.Options
HotKey = hotkey
};
buttonsContainer.Add(button);
buttonsContainer.SetLayoutPosition(button, depth);
buttonsContainer.Insert((int)depth, button);
}
}
}