Hello,
You are right. This is probably something we should change in the near future. I'll tell the team about it.
For the time being, I believe you can simply modify the function manually like as follows :
void ScrollableContainer::moveChildrenRelative(int16_t deltaX, int16_t deltaY)
{
Drawable* d = firstChild;
while (d)
{
if ((d != &xSlider) && (d != &ySlider))
{
if(calledFromOutsideTheClassFlag == true)
{
scrolledXDistance += deltaX;
scrolledYDistance += deltaY;
}
d->moveRelative(deltaX, deltaY);
}
d = d->getNextSibling();
}
}
If you want this changes to be taken into account on your board, you need to copy this class in your gui/ folder and use this customClass instead. Unfortunately this will make you unable to use the Designer since it becomes a class the Designer does not know about.
When your question is answered, please close this topic by choosing Select as Best.
/Alexandre