mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 16:52:55 +08:00
use checkbox label instead of tooltip
This commit is contained in:
parent
7d26f178c6
commit
77f5ec3a4e
@ -3,24 +3,23 @@
|
||||
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Cursor;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Overlays;
|
||||
using osuTK;
|
||||
using osuTK.Graphics;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterfaceV2
|
||||
{
|
||||
internal class OsuDirectorySelectorHiddenToggle : OsuCheckbox, IHasTooltip
|
||||
internal class OsuDirectorySelectorHiddenToggle : OsuCheckbox
|
||||
{
|
||||
public LocalisableString TooltipText => @"Show hidden items";
|
||||
|
||||
public OsuDirectorySelectorHiddenToggle()
|
||||
{
|
||||
RelativeSizeAxes = Axes.None;
|
||||
AutoSizeAxes = Axes.Both;
|
||||
AutoSizeAxes = Axes.None;
|
||||
Size = new Vector2(100, 50);
|
||||
Anchor = Anchor.CentreLeft;
|
||||
Origin = Anchor.CentreLeft;
|
||||
LabelText = "Show hidden items";
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader(true)]
|
||||
|
Loading…
Reference in New Issue
Block a user