Place view main menu on the current page
This commit is contained in:
@@ -39,6 +39,7 @@ ViewMainMenu::ViewMainMenu(Window* parent) :
|
|||||||
// Take over the screen
|
// Take over the screen
|
||||||
setWidth(parent->width());
|
setWidth(parent->width());
|
||||||
setHeight(parent->height());
|
setHeight(parent->height());
|
||||||
|
setLeft(parent->getScrollPositionX());
|
||||||
|
|
||||||
auto carousel = new SelectFabCarousel(this);
|
auto carousel = new SelectFabCarousel(this);
|
||||||
carousel->setMaxButtons(4);
|
carousel->setMaxButtons(4);
|
||||||
|
|||||||
Reference in New Issue
Block a user