mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Fix progress notifications no longer blocking close on click
This commit is contained in:
@ -229,8 +229,8 @@ namespace osu.Game.Overlays.Notifications
|
||||
protected override bool OnClick(ClickEvent e)
|
||||
{
|
||||
// Clicking with anything but left button should dismiss but not perform the activation action.
|
||||
if (e.Button == MouseButton.Left)
|
||||
Activated?.Invoke();
|
||||
if (e.Button == MouseButton.Left && Activated?.Invoke() == false)
|
||||
return true;
|
||||
|
||||
Close(false);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user