mirror of https://github.com/ppy/osu
Play editor exit sound if no confirmation buttons were shown during exit process
This commit is contained in:
parent
7ac5019c08
commit
fd4529aa7c
|
@ -63,7 +63,7 @@ public class Editor : ScreenWithBeatmapBackground, IKeyBindingHandler<GlobalActi
|
||||||
|
|
||||||
public override bool? AllowTrackAdjustments => false;
|
public override bool? AllowTrackAdjustments => false;
|
||||||
|
|
||||||
protected override bool PlayExitSound => false;
|
protected override bool PlayExitSound => !HasUnsavedChanges;
|
||||||
|
|
||||||
protected bool HasUnsavedChanges
|
protected bool HasUnsavedChanges
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue