fix visibility order

pull/3471/head
kallaballa 2 years ago
parent 5addde5baf
commit 4cbbb12125
  1. 2
      modules/viz2d/src/viz2d.cpp

@ -582,6 +582,8 @@ bool Viz2D::isVisible() {
void Viz2D::setVisible(bool v) {
makeCurrent();
glfwWindowHint(GLFW_VISIBLE, v ? GLFW_TRUE : GLFW_FALSE);
screen().set_visible(v);
screen().perform_layout();
}
bool Viz2D::isOffscreen() {

Loading…
Cancel
Save