mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 05:47:50 +08:00
Make several delete confirmation buttons dangerous buttons
Includes: - Mass deletion - Beatmap deletion - Local score deletion
This commit is contained in:
parent
cbcbcd1a4a
commit
9a07a95d39
@ -17,7 +17,7 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
HeaderText = @"Confirm deletion of";
|
||||
Buttons = new PopupDialogButton[]
|
||||
{
|
||||
new PopupDialogOkButton
|
||||
new PopupDialogDangerousButton
|
||||
{
|
||||
Text = @"Yes. Go for it.",
|
||||
Action = deleteAction
|
||||
|
@ -26,7 +26,7 @@ namespace osu.Game.Screens.Select
|
||||
HeaderText = @"Confirm deletion of";
|
||||
Buttons = new PopupDialogButton[]
|
||||
{
|
||||
new PopupDialogOkButton
|
||||
new PopupDialogDangerousButton
|
||||
{
|
||||
Text = @"Yes. Totally. Delete it.",
|
||||
Action = () => manager?.Delete(beatmap),
|
||||
|
@ -38,7 +38,7 @@ namespace osu.Game.Screens.Select
|
||||
HeaderText = "Confirm deletion of local score";
|
||||
Buttons = new PopupDialogButton[]
|
||||
{
|
||||
new PopupDialogOkButton
|
||||
new PopupDialogDangerousButton
|
||||
{
|
||||
Text = "Yes. Please.",
|
||||
Action = () => scoreManager?.Delete(score)
|
||||
|
Loading…
Reference in New Issue
Block a user