X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Ftheme_blue_dot%2Fbluedottheme.C;h=2d956f6f07036404a135d163c9f1a11376f93c2b;hp=fff94e711e36d8a29170bf49e6b4e21d734d6018;hb=e51e8d64881ef494548697203c82e5be8646cd4b;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 diff --git a/cinelerra-5.1/plugins/theme_blue_dot/bluedottheme.C b/cinelerra-5.1/plugins/theme_blue_dot/bluedottheme.C index fff94e71..2d956f6f 100644 --- a/cinelerra-5.1/plugins/theme_blue_dot/bluedottheme.C +++ b/cinelerra-5.1/plugins/theme_blue_dot/bluedottheme.C @@ -1007,6 +1007,11 @@ void BlueDotTheme::get_mwindow_sizes(MWindowGUI *gui, int w, int h) mcanvas_w = w; mcanvas_h = patchbay_h; //COPIED START + control_pixels = (mcanvas_w * control_pixels) / 1000; + pane_w = get_image_set("xpane")[0]->get_w(); + pane_h = get_image_set("ypane")[0]->get_h(); + pane_x = mcanvas_x + mcanvas_w; + pane_y = mcanvas_y + mcanvas_h; mhscroll_x = 0; mhscroll_y = mzoom_y - BC_ScrollBar::get_span(SCROLL_HORIZ); mhscroll_w = w - BC_ScrollBar::get_span(SCROLL_VERT);