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:
commit
5cffc81e1c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user