Fix remaining issues

This commit is contained in:
Dean Herbert
2019-02-28 13:31:40 +09:00
parent 3e1f283281
commit 26d53d06a9
241 changed files with 673 additions and 330 deletions

View File

@ -41,28 +41,19 @@ namespace osu.Game.Overlays.Toolbar
public string Text
{
get { return DrawableText.Text; }
set
{
DrawableText.Text = value;
}
set { DrawableText.Text = value; }
}
public string TooltipMain
{
get { return tooltip1.Text; }
set
{
tooltip1.Text = value;
}
set { tooltip1.Text = value; }
}
public string TooltipSub
{
get { return tooltip2.Text; }
set
{
tooltip2.Text = value;
}
set { tooltip2.Text = value; }
}
protected virtual Anchor TooltipAnchor => Anchor.TopLeft;
@ -75,7 +66,8 @@ namespace osu.Game.Overlays.Toolbar
private readonly SpriteText tooltip2;
protected FillFlowContainer Flow;
public ToolbarButton() : base(HoverSampleSet.Loud)
public ToolbarButton()
: base(HoverSampleSet.Loud)
{
Width = WIDTH;
RelativeSizeAxes = Axes.Y;