Place view main menu on the current page

This commit is contained in:
Raphael Coeffic
2021-05-09 17:03:40 +02:00
parent a5ef25dcee
commit 1bfe58be36
@@ -39,6 +39,7 @@ ViewMainMenu::ViewMainMenu(Window* parent) :
// Take over the screen
setWidth(parent->width());
setHeight(parent->height());
setLeft(parent->getScrollPositionX());
auto carousel = new SelectFabCarousel(this);
carousel->setMaxButtons(4);