1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 01:32:55 +08:00

Fix default button absorbing drag scroll on settings (#7494)

Fix default button absorbing drag scroll on settings
This commit is contained in:
Dean Herbert 2020-01-11 17:24:03 +08:00 committed by GitHub
commit 5cffc81e1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,10 +163,6 @@ namespace osu.Game.Overlays.Settings
public string TooltipText => "Revert to default"; public string TooltipText => "Revert to default";
protected override bool OnMouseDown(MouseDownEvent e) => true;
protected override bool OnMouseUp(MouseUpEvent e) => true;
protected override bool OnClick(ClickEvent e) protected override bool OnClick(ClickEvent e)
{ {
if (bindable != null && !bindable.Disabled) if (bindable != null && !bindable.Disabled)