From e2968c69dceb0dac8a77e06af52af427d1d47399 Mon Sep 17 00:00:00 2001 From: Christoph Baumann Date: Fri, 10 Oct 2025 22:28:41 +0200 Subject: [PATCH] fix button map styling --- nyx/nyx_gui/frontend/gui_tools.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nyx/nyx_gui/frontend/gui_tools.c b/nyx/nyx_gui/frontend/gui_tools.c index e62cda93..dcba49d6 100644 --- a/nyx/nyx_gui/frontend/gui_tools.c +++ b/nyx/nyx_gui/frontend/gui_tools.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include @@ -1783,8 +1784,8 @@ static void _create_tab_tools_emmc_pkg12(lv_theme_t *th, lv_obj_t *parent) lv_btnm_set_style(btnm, LV_BTNM_STYLE_BTN_INA, th->btn.ina); if (hekate_bg) { - lv_btn_set_style(btnm, LV_BTN_STYLE_REL, &btn_transp_rel); - lv_btn_set_style(btnm, LV_BTN_STYLE_PR, &btn_transp_pr); + lv_btnm_set_style(btnm, LV_BTNM_STYLE_BTN_REL, &btn_transp_rel); + lv_btnm_set_style(btnm, LV_BTNM_STYLE_BTN_PR, &btn_transp_pr); } lv_coord_t font_h = lv_font_get_height(th->btn.rel->text.font); lv_obj_set_size(btnm, 400, font_h + 2 * th->btn.rel->body.padding.ver + 2 * th->bg->body.padding.ver);