Scrolling is now handled 100% by LVGL
This commit is contained in:
committed by
Raphael Coeffic
parent
131e26cfa0
commit
12f51350ce
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user