Skip to content
Snippets Groups Projects
Commit a1a58184 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

better "zoom"

parent fd1a024c
No related branches found
No related tags found
No related merge requests found
......@@ -772,7 +772,7 @@ void window_cb(Fl_Widget *w, void *data)
#ifndef FS
FlGui::instance()->graph[0]->getWindow()->resize(Fl::x(), Fl::y(), Fl::w(), Fl::h());
FlGui::instance()->graph[0]->hideMessages();
FlGui::check();
FlGui::instance()->graph[0]->getWindow()->redraw();
#else
FlGui::instance()->graph[0]->getWindow()->fullscreen();
#endif
......@@ -781,6 +781,7 @@ void window_cb(Fl_Widget *w, void *data)
else{
#ifndef FS
FlGui::instance()->graph[0]->getWindow()->resize(oldx, oldy, oldw, oldh);
FlGui::instance()->graph[0]->getWindow()->redraw();
#else
FlGui::instance()->graph[0]->getWindow()->fullscreen_off();
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment