mirror of
https://github.com/labwc/labwc.git
synced 2025-11-16 06:59:57 -05:00
refactor: add LAB_BS_DEFAULT in lab_button_state
This commit is contained in:
parent
36d6e9ef75
commit
bffdccf8dc
4 changed files with 10 additions and 5 deletions
|
|
@ -100,7 +100,8 @@ add_scene_button(struct wl_list *part_list, enum ssd_part_type type,
|
|||
|
||||
/* Icons */
|
||||
struct wlr_scene_node *nodes[LAB_BS_ALL + 1] = {0};
|
||||
for (uint8_t state_set = 0; state_set <= LAB_BS_ALL; state_set++) {
|
||||
for (uint8_t state_set = LAB_BS_DEFAULT;
|
||||
state_set <= LAB_BS_ALL; state_set++) {
|
||||
if (!imgs[state_set]) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue