mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-27 11:57:48 +08:00
fix(msgbox): use LV_OPA_50 for the backdrop in the default theme
This commit is contained in:
@@ -587,7 +587,7 @@ static void style_init(struct _my_theme_t * theme)
|
|||||||
#if LV_USE_MSGBOX
|
#if LV_USE_MSGBOX
|
||||||
style_init_reset(&theme->styles.msgbox_backdrop_bg);
|
style_init_reset(&theme->styles.msgbox_backdrop_bg);
|
||||||
lv_style_set_bg_color(&theme->styles.msgbox_backdrop_bg, lv_palette_main(LV_PALETTE_GREY));
|
lv_style_set_bg_color(&theme->styles.msgbox_backdrop_bg, lv_palette_main(LV_PALETTE_GREY));
|
||||||
lv_style_set_bg_opa(&theme->styles.msgbox_backdrop_bg, LV_OPA_100);
|
lv_style_set_bg_opa(&theme->styles.msgbox_backdrop_bg, LV_OPA_50);
|
||||||
#endif
|
#endif
|
||||||
#if LV_USE_KEYBOARD
|
#if LV_USE_KEYBOARD
|
||||||
style_init_reset(&theme->styles.keyboard_button_bg);
|
style_init_reset(&theme->styles.keyboard_button_bg);
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
Reference in New Issue
Block a user