1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 15:57:24 +08:00
osu-lazer/osu.Game/Screens/Edit
Bartłomiej Dach 19d006d818
Fix deleting modified difficulty via editor leaving user in broken state
Closes https://github.com/ppy/osu/issues/22783.

If the difficulty being edited has unsaved changes, the editor exit flow
would prompt for save *after* the deletion method has run. This is
undesirable from a UX standpoint, and also leaves the user in a broken
state.

Thus, just fake an update of the last saved hash of the beatmap to fool
the editor into thinking that it's not dirty, so that the exit flow will
not show a save dialog.
2024-04-25 12:55:34 +02:00
..
Components Remove unused using 2024-04-24 01:00:03 -07:00
Compose Merge pull request #27768 from 64ArthurAraujo/editor-fix-sliders-same-start-time-merge 2024-04-03 01:45:55 +08:00
Design Enable nullability for design screen 2023-01-14 02:24:48 +03:00
GameplayTest Remove unused ruleset parameter when testing beatmap in editor 2024-03-01 20:28:52 +08:00
Setup Remove remaining hexacons usages 2023-12-27 17:42:18 +01:00
Timing Reduce allocations in ControlPointList 2024-03-09 20:50:54 +03:00
Verify Apply padding to GridContainers directly 2024-02-20 23:18:37 +03:00
BackgroundDimMenuItem.cs Use existing strings 2023-01-15 14:39:34 +03:00
BeatmapEditorChangeHandler.cs Change the way initial state saving works in EditorChangeHandler to be closer to first change 2023-02-07 16:22:51 +09:00
BindableBeatDivisor.cs Change name and description of force parameter in SetArbitraryDivisor 2024-01-25 05:12:54 -05:00
BottomBar.cs Apply padding to GridContainers directly 2024-02-20 23:18:37 +03:00
ClipboardContent.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
CreateNewDifficultyDialog.cs Localise create/save dialog 2023-01-15 01:50:47 +03:00
DeleteDifficultyConfirmationDialog.cs make ResetConfirmDialog properly utilise its parent's logic 2023-03-05 20:57:26 +01:00
Editor.cs Fix deleting modified difficulty via editor leaving user in broken state 2024-04-25 12:55:34 +02:00
EditorBeatmap.cs Use sane BeatmapInfo for preview time mutation 2023-01-07 14:23:36 +03:00
EditorBeatmapSkin.cs Enable NRT in EditorBeatmapSkin 2024-02-23 14:52:44 +01:00
EditorChangeHandler.cs Change the way initial state saving works in EditorChangeHandler to be closer to first change 2023-02-07 16:22:51 +09:00
EditorClipboard.cs Automated pass 2023-06-24 01:00:03 +09:00
EditorClock.cs Fix incorrect test assumption in TestSceneEditorClock 2023-10-06 16:43:28 +09:00
EditorLoader.cs Move disables to loading screens for better coverage of edge cases 2023-07-30 13:45:42 +09:00
EditorRoundedScreenSettings.cs Automated pass 2023-06-24 01:00:03 +09:00
EditorRoundedScreenSettingsSection.cs Partial everything 2022-11-27 00:00:27 +09:00
EditorScreen.cs Fix pressing Ctrl-C in composer not copying timestamp to system clipboard 2023-07-09 18:21:43 +02:00
EditorScreenMode.cs Localise part of editor 2023-01-15 01:50:47 +03:00
EditorScreenWithTimeline.cs Apply padding to GridContainers directly 2024-02-20 23:18:37 +03:00
EditorSkinProvidingContainer.cs Partial everything 2022-11-27 00:00:27 +09:00
EditorState.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
EditorTable.cs Adjust execution order 2024-04-22 07:02:49 +03:00
HitAnimationsMenuItem.cs Automated pass 2023-06-24 01:00:03 +09:00
IEditorChangeHandler.cs Add a basic change handler to the skin editor 2023-02-03 18:57:50 +09:00
LegacyEditorBeatmapPatcher.cs Fix slider velocity changes not being undone correctly 2023-10-30 10:59:02 +01:00
PromptForSaveDialog.cs Localise create/save dialog 2023-01-15 01:50:47 +03:00
SaveRequiredPopupDialog.cs Fix editor not prompting before saving beatmap for export 2023-10-25 14:39:46 +09:00
TransactionalCommitComponent.cs Change the way initial state saving works in EditorChangeHandler to be closer to first change 2023-02-07 16:22:51 +09:00
WaveformOpacityMenuItem.cs Automated pass 2023-06-24 01:00:03 +09:00