Centralise toolbar size variables and adjust to design.

This commit is contained in:
Dean Herbert
2017-02-08 20:14:17 +09:00
parent 143cfae93a
commit b6398a1c77
4 changed files with 11 additions and 6 deletions

View File

@ -11,13 +11,14 @@ using osu.Framework.Graphics.Transformations;
using osu.Framework.Input;
using osu.Framework.Threading;
using osu.Game.Graphics;
using osu.Game.Overlays.Toolbar;
namespace osu.Game.Overlays.Options
{
public class Sidebar : Container
{
private FlowContainer content;
internal const int DEFAULT_WIDTH = 60;
internal const float DEFAULT_WIDTH = ToolbarButton.WIDTH;
internal const int EXPANDED_WIDTH = 200;
protected override Container<Drawable> Content => content;