diff --git a/src/features/savegame/ui/load.rs b/src/features/savegame/ui/load.rs index a03eb7c..a9ec630 100644 --- a/src/features/savegame/ui/load.rs +++ b/src/features/savegame/ui/load.rs @@ -68,18 +68,6 @@ pub fn spawn_load_popup(commands: &mut Commands, asset_server: &AssetServer) { ), ] ), - pill_button( - ButtonType::SavegameDelete { - savegame_path: savegame.path.clone() - }, - ButtonVariant::Destructive, - Node { - width: px(40), - height: px(40), - ..default() - }, - |color| text("X", 24.0, color) - ), button( ButtonType::Achievements { savegame: savegame.clone() @@ -98,6 +86,18 @@ pub fn spawn_load_popup(commands: &mut Commands, asset_server: &AssetServer) { name: "Achievement".into() } ) + ), + pill_button( + ButtonType::SavegameDelete { + savegame_path: savegame.path.clone() + }, + ButtonVariant::Destructive, + Node { + width: px(40), + height: px(40), + ..default() + }, + |color| text("X", 24.0, color) ) ], )