fixed gap finding for minimized windows

pull/3471/head
kallaballa 2 years ago
parent 4b544b70bc
commit 802c1df131
  1. 2
      src/common/viz2d.cpp

@ -108,7 +108,7 @@ Viz2DWindow::Viz2DWindow(nanogui::Screen *screen, int x, int y, const string &ti
this->set_position({lastX, screen_->height() - this->height()});
break;
}
lastX = x + win->width();
lastX = x + win->width() + 1;
}
}
if(gap < w) {

Loading…
Cancel
Save