Fix regression in sidebar button sizing

This commit is contained in:
Dean Herbert 2020-09-03 16:34:47 +09:00
parent 0d1674ca5e
commit f5a73130e1

View File

@ -18,7 +18,7 @@ namespace osu.Game.Overlays.Settings
public class Sidebar : Container<SidebarButton>, IStateful<ExpandedState>
{
private readonly FillFlowContainer<SidebarButton> content;
public const float DEFAULT_WIDTH = Toolbar.Toolbar.HEIGHT;
public const float DEFAULT_WIDTH = Toolbar.Toolbar.HEIGHT * 1.4f;
public const int EXPANDED_WIDTH = 200;
public event Action<ExpandedState> StateChanged;