mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
A couple small optimizations to the still-glitchy resize code.
This commit is contained in:
parent
dd9b0818f1
commit
d993743cb9
@ -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);
|
||||
|
@ -312,8 +312,7 @@ void Window::Create() {
|
||||
}
|
||||
}
|
||||
|
||||
this->isVisible = true;
|
||||
this->Repaint();
|
||||
this->Show();
|
||||
}
|
||||
|
||||
void Window::Hide() {
|
||||
|
Loading…
Reference in New Issue
Block a user