mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 06:42:54 +08:00
Fix incorrect button state in some cases
This commit is contained in:
parent
25f36e87a6
commit
7a9ee907bf
@ -60,7 +60,7 @@ namespace osu.Game.Overlays
|
||||
return;
|
||||
|
||||
currentTarget = Target;
|
||||
Button.State = Current > button_scroll_position ? Visibility.Visible : Visibility.Hidden;
|
||||
Button.State = Target > button_scroll_position ? Visibility.Visible : Visibility.Hidden;
|
||||
}
|
||||
|
||||
public class ScrollToTopButton : OsuHoverContainer
|
||||
|
Loading…
Reference in New Issue
Block a user