mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
process page test
This commit is contained in:
parent
a34fff3515
commit
f8f6ffc0c5
11 changed files with 58 additions and 33 deletions
|
|
@ -49,9 +49,9 @@ void Menu::setPage(std::string name, bool history) {
|
|||
void Menu::setPage(Page page, bool history) {
|
||||
if (current.panel) {
|
||||
Container::remove(current.panel);
|
||||
}
|
||||
if (history) {
|
||||
pageStack.push(current);
|
||||
if (history) {
|
||||
pageStack.push(current);
|
||||
}
|
||||
}
|
||||
current = page;
|
||||
Container::add(current.panel);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue