Ensure the KotoExpander's "label" + icon button is response to clicks.

This increases the overall clickable area rather than limiting it to just the expander pan button.
This commit is contained in:
Joshua Strobl 2021-07-07 22:26:27 +03:00
parent ddf4b73c46
commit 0c1b4d9c47

View file

@ -199,6 +199,7 @@ static void koto_expander_init(KotoExpander * self) {
self->constructed = TRUE;
koto_button_add_click_handler(self->header_button, KOTO_BUTTON_CLICK_TYPE_PRIMARY, G_CALLBACK(koto_expander_toggle_content), self);
koto_button_add_click_handler(self->header_expand_button, KOTO_BUTTON_CLICK_TYPE_PRIMARY, G_CALLBACK(koto_expander_toggle_content), self);
}