Stop passing preset panel to popover

This commit is contained in:
Dean Herbert
2023-05-04 11:19:09 +09:00
parent b12d139317
commit 49fb5da1a2
2 changed files with 10 additions and 17 deletions

View File

@ -98,8 +98,6 @@ namespace osu.Game.Overlays.Mods
#endregion
public bool CheckCurrentModCanBeSave() => (!Active.Value && selectedMods.Value.Any());
protected override void Dispose(bool isDisposing)
{
base.Dispose(isDisposing);
@ -107,6 +105,6 @@ namespace osu.Game.Overlays.Mods
settingChangeTracker?.Dispose();
}
public Popover GetPopover() => new EditPresetPopover(this);
public Popover GetPopover() => new EditPresetPopover(Preset);
}
}