X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/f8caaf1e96adabe61436830b19d2d0514781ffc4..b1b1cfeb329cedbf7bb89665fcda862a0e4fc46c:/viewer/main.cpp?ds=sidebyside diff --git a/viewer/main.cpp b/viewer/main.cpp index 8fcda79..e5cb24e 100644 --- a/viewer/main.cpp +++ b/viewer/main.cpp @@ -131,6 +131,7 @@ void abrir_arbol () tree->AddNode (0); double x1, x2, y1, y2; tree->get_bounds (x1, y1, x2, y2); + real_canvas->set_scroll_region (0, 0, 5000, 5000); real_canvas->scroll_to (0, 0); } }