mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-03 14:11:10 +00:00
Made mod list panel work properly again
This commit is contained in:
parent
929bf2322e
commit
b0710da16a
1 changed files with 3 additions and 0 deletions
|
@ -101,6 +101,9 @@ void djui_panel_host_mods_create(struct DjuiBase* caller) {
|
|||
checkbox->base.tag = i;
|
||||
djui_base_set_size_type(&checkbox->base, DJUI_SVT_RELATIVE, DJUI_SVT_ABSOLUTE);
|
||||
djui_base_set_size(&checkbox->base, 1.0f, 32);
|
||||
djui_base_set_enabled(&checkbox->base, entry->selectable);
|
||||
djui_interactable_hook_hover(&checkbox->base, djui_mod_checkbox_on_hover, djui_mod_checkbox_on_hover_end);
|
||||
djui_interactable_hook_value_change(&checkbox->base, djui_mod_checkbox_on_value_change);
|
||||
if (i == 0) { defaultBase = &checkbox->base; }
|
||||
}
|
||||
djui_paginated_calculate_height(paginated);
|
||||
|
|
Loading…
Reference in a new issue