Scrolling is now handled 100% by LVGL

This commit is contained in:
Raphael Coeffic
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent 131e26cfa0
commit 12f51350ce
35 changed files with 38 additions and 85 deletions
+2 -2
View File
@@ -635,8 +635,8 @@ bool LuaWidget::onTouchSlide(coord_t x, coord_t y, coord_t startX, coord_t start
if (es) {
ViewMain* vm = ViewMain::instance();
es->event = EVT_TOUCH_SLIDE;
es->touchX = x + vm->getScrollPositionX();
es->touchY = y + vm->getScrollPositionY();
// es->touchX = x + vm->getScrollPositionX();
// es->touchY = y + vm->getScrollPositionY();
es->startX = startX;
es->startY = startY;
es->slideX += slideX;