Restore smooth touch map dragging

This commit is contained in:
liu weikai
2026-06-12 16:01:11 +08:00
parent a98111dfef
commit 3c796ea873
3 changed files with 86 additions and 5 deletions
@@ -117,6 +117,7 @@ class Runtime
friend const Widgets& widgets(const Runtime& runtime);
friend void set_size(Runtime& runtime, lv_coord_t width, lv_coord_t height);
friend void apply_model(Runtime& runtime, const Model& model);
friend void apply_model_lightweight(Runtime& runtime, const Model& model);
friend void apply_overlay(Runtime& runtime, const ui::map::MapOverlaySnapshot& overlay);
friend void clear(Runtime& runtime);
friend bool project_point(const Runtime& runtime, const GeoPoint& point, lv_point_t& out_screen_point);
@@ -132,6 +133,7 @@ void destroy(Runtime& runtime);
const Widgets& widgets(const Runtime& runtime);
void set_size(Runtime& runtime, lv_coord_t width, lv_coord_t height);
void apply_model(Runtime& runtime, const Model& model);
void apply_model_lightweight(Runtime& runtime, const Model& model);
void apply_overlay(Runtime& runtime, const ui::map::MapOverlaySnapshot& overlay);
void clear(Runtime& runtime);
bool project_point(const Runtime& runtime, const GeoPoint& point, lv_point_t& out_screen_point);