fix(color): add lvgl LV_USE_LARGE_COORD support (#7358)

This commit is contained in:
3djc
2026-06-03 13:33:48 +10:00
committed by GitHub
parent 56de02330c
commit 3b3b527abe
2 changed files with 2 additions and 2 deletions
@@ -184,7 +184,7 @@ void Keyboard::setField(FormField* newField)
lv_obj_get_coords(obj, &coords);
// place keyboard bellow the field with some margin
setTop(max(coords.y2 + 21, LCD_H - height()));
setTop(max((coord_t)coords.y2 + 21, LCD_H - height()));
// save scroll position
scroll_pos = lv_obj_get_scroll_y(fieldContainer->getLvObj());
+1 -1
View File
@@ -395,7 +395,7 @@
#define LV_EXPORT_CONST_INT(int_value) struct _silence_gcc_warning /*The default value just prevents GCC warning*/
/*Extend the default -32k..32k coordinate range to -4M..4M by using int32_t for coordinates instead of int16_t*/
#define LV_USE_LARGE_COORD 0
#define LV_USE_LARGE_COORD 1
/*==================
* FONT USAGE