mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +00:00
Make deleting other save slots while hosting possible
This commit is contained in:
parent
543511ff28
commit
a801dfe19f
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ void djui_panel_host_save_create(struct DjuiBase* caller) {
|
||||||
djui_base_set_size(&button2->base, 0.19f, 32);
|
djui_base_set_size(&button2->base, 0.19f, 32);
|
||||||
djui_base_set_alignment(&button2->base, DJUI_HALIGN_CENTER, DJUI_VALIGN_TOP);
|
djui_base_set_alignment(&button2->base, DJUI_HALIGN_CENTER, DJUI_VALIGN_TOP);
|
||||||
djui_base_set_location(&button2->base, configDjuiThemeCenter ? 127 : button1->rect->base.width.value + 98, 0);
|
djui_base_set_location(&button2->base, configDjuiThemeCenter ? 127 : button1->rect->base.width.value + 98, 0);
|
||||||
djui_base_set_enabled(&button2->base, gDjuiInMainMenu);
|
djui_base_set_enabled(&button2->base, gDjuiInMainMenu || gCurrSaveFileNum - 1 != i);
|
||||||
|
|
||||||
struct DjuiButton* button3 = djui_button_create(&rect1->base, DLANG(HOST_SAVE, EDIT), DJUI_BUTTON_STYLE_NORMAL, djui_panel_host_save_edit);
|
struct DjuiButton* button3 = djui_button_create(&rect1->base, DLANG(HOST_SAVE, EDIT), DJUI_BUTTON_STYLE_NORMAL, djui_panel_host_save_edit);
|
||||||
button3->base.tag = i;
|
button3->base.tag = i;
|
||||||
|
|
Loading…
Reference in a new issue