1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 19:12:54 +08:00

add tooltip to checkbox

This commit is contained in:
Gabe Livengood 2022-07-08 16:00:48 -04:00
parent 8e84f76bf9
commit b92979acd6
No known key found for this signature in database
GPG Key ID: 70321B78DAECE683

View File

@ -3,13 +3,17 @@
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Localisation;
using osu.Game.Graphics.UserInterface;
using osuTK.Graphics;
namespace osu.Game.Graphics.UserInterfaceV2
{
internal class OsuDirectorySelectorHiddenToggle : OsuCheckbox
internal class OsuDirectorySelectorHiddenToggle : OsuCheckbox, IHasTooltip
{
public LocalisableString TooltipText => @"Show hidden items";
public OsuDirectorySelectorHiddenToggle()
{
RelativeSizeAxes = Axes.None;