A couple small optimizations to the still-glitchy resize code.

This commit is contained in:
Casey Langen 2016-05-27 23:01:58 -07:00
parent dd9b0818f1
commit d993743cb9
2 changed files with 2 additions and 3 deletions

View File

@ -265,7 +265,7 @@ int main(int argc, char* argv[])
else if (kn == "KEY_RESIZE") {
libraryLayout->Layout();
consoleLayout->Layout();
state.layout->Show();
state.layout->BringToTop();
}
else if (ch == KEY_F(1)) {
changeLayout(state, libraryLayout);

View File

@ -312,8 +312,7 @@ void Window::Create() {
}
}
this->isVisible = true;
this->Repaint();
this->Show();
}
void Window::Hide() {