mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Fix remaining issues
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user