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
commit e4dd1e1ebc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;