Fix OSD fade-in not correctly debouncing

It could potentially never fade in on quick presses.
This commit is contained in:
Dean Herbert
2018-07-09 17:53:39 +09:00
parent 10cc95427d
commit df67c0498d
2 changed files with 28 additions and 12 deletions

View File

@ -88,7 +88,7 @@ namespace osu.Game.Tests.Visual
private class TestOnScreenDisplay : OnScreenDisplay
{
protected override void Display(Drawable toDisplay) => toDisplay.FadeIn().ResizeHeightTo(110);
protected override void DisplayTemporarily(Drawable toDisplay) => toDisplay.FadeIn().ResizeHeightTo(110);
}
}
}