1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 06:49:54 +08:00

Merge pull request #4078 from ekrctb/fix-slider-bar-tooltip-not-shown-until-value-is-changed

Fix sliders don't show tooltip until first change
This commit is contained in:
Dean Herbert
2019-01-17 17:59:49 +09:00
committed by GitHub
Unverified
@@ -92,6 +92,12 @@ namespace osu.Game.Graphics.UserInterface
AccentColour = colours.Pink;
}
protected override void LoadComplete()
{
updateTooltipText(Current.Value);
base.LoadComplete();
}
protected override bool OnHover(HoverEvent e)
{
Nub.Glowing = true;