mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 10:51:57 +00:00
perf(l2): Clock opens in half the time: own number wheel instead of lv_roller
An infinite lv_roller measures its whole option text (repeated three times) on every style change, layout pass and frame. The hand-drawn wheel draws only the visible rows, with the same look, drag, throw, tap and wrap-around. Clock first frame 99 -> 54 ms (layout 42 -> 12 ms). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include <new>
|
||||
#include <src/core/lv_obj_event_private.h> // lv_cover_check_info_t (coversOwnArea)
|
||||
#include <src/widgets/label/lv_label_private.h> // lv_label_t (labelShows)
|
||||
#include <src/misc/lv_area_private.h> // lv_area_intersect (clockview::wheelDraw)
|
||||
#include <stdarg.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user