fix: Change order of buttons in load save game menu
This commit is contained in:
@@ -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)
|
||||
)
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user