mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-26 04:36:38 +00:00
Fix FirstSetup bug
This commit is contained in:
parent
737aef167b
commit
b512526cb1
@ -908,8 +908,8 @@ void haspFirstSetup(void)
|
|||||||
lv_kb_set_style(kb, LV_KB_STYLE_BTN_REL, &rel_style);
|
lv_kb_set_style(kb, LV_KB_STYLE_BTN_REL, &rel_style);
|
||||||
lv_kb_set_style(kb, LV_KB_STYLE_BTN_PR, &pr_style);
|
lv_kb_set_style(kb, LV_KB_STYLE_BTN_PR, &pr_style);
|
||||||
|
|
||||||
lv_kb_set_ta(kb, oneline_ta); /* Focus it on one of the text areas to start */
|
lv_kb_set_ta(kb, oneline_ta); /* Focus it on one of the text areas to start */
|
||||||
lv_kb_set_cursor_manage(oneline_ta, true); /* Automatically show/hide cursors on text areas */
|
lv_kb_set_cursor_manage(kb, true); /* Automatically show/hide cursors on text areas */
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1150,6 +1150,7 @@ void hasp_background(uint16_t pageid, uint16_t imageid)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
switch (imageid)
|
switch (imageid)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user