X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fvpatchgui.C;h=1095238feef887aa8b5f68ed09e8df320577986e;hp=2d01e0144c9cfa7bfbd7a574d28833e14b61ccc2;hb=3a6c2c4d94e7b24eb50d8ecd3ec0b3c8d8539743;hpb=95f86161c3b9c422bbd04ec8f685aa7e856d6dd7 diff --git a/cinelerra-5.1/cinelerra/vpatchgui.C b/cinelerra-5.1/cinelerra/vpatchgui.C index 2d01e014..1095238f 100644 --- a/cinelerra-5.1/cinelerra/vpatchgui.C +++ b/cinelerra-5.1/cinelerra/vpatchgui.C @@ -104,8 +104,7 @@ int VPatchGUI::update(int x, int y) patchbay->add_subwindow(fade = new VFadePatch(mwindow, this, x1+x, y1+y, patchbay->get_w() - 10)); } - if( fade ) - y1 = y2; + y1 = y2; y2 = y1 + mwindow->theme->mode_h; if( mode ) { @@ -132,8 +131,7 @@ int VPatchGUI::update(int x, int y) patchbay->add_subwindow(nudge = new NudgePatch(mwindow, this, x1+x, y1+y, patchbay->get_w() - x1-x - 10)); } - if( mode ) - y1 = y2; + y1 = y2; return y1; }