mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Faster transitions
This commit is contained in:
parent
bdbff875dc
commit
608fc73852
@ -56,7 +56,7 @@ void Page::set(uint8_t pageid, lv_scr_load_anim_t animation)
|
|||||||
} else {
|
} else {
|
||||||
LOG_TRACE(TAG_HASP, F(D_HASP_CHANGE_PAGE), pageid);
|
LOG_TRACE(TAG_HASP, F(D_HASP_CHANGE_PAGE), pageid);
|
||||||
_current_page = pageid;
|
_current_page = pageid;
|
||||||
lv_scr_load_anim(page, animation, 1000, 0, false);
|
lv_scr_load_anim(page, animation, 500, 0, false);
|
||||||
hasp_object_tree(page, pageid, 0);
|
hasp_object_tree(page, pageid, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user