Skip to content

Commit

Permalink
GLFWSystemWindow::setVisible :: fixed glfwShowWindow/glfwHideWindow u…
Browse files Browse the repository at this point in the history
…sage (#6)
  • Loading branch information
inobelar authored Nov 22, 2024
1 parent 9088b31 commit 87b96ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions psychic-ui/applications/GLFWApplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,9 @@ namespace psychic_ui {

void GLFWSystemWindow::setVisible(bool visible) {
if (visible) {
glfwHideWindow(_glfwWindow);
} else {
glfwShowWindow(_glfwWindow);
} else {
glfwHideWindow(_glfwWindow);
}
}

Expand Down

0 comments on commit 87b96ec

Please sign in to comment.