projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
repair a/v patchgui widget placement
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
vpatchgui.C
diff --git
a/cinelerra-5.1/cinelerra/vpatchgui.C
b/cinelerra-5.1/cinelerra/vpatchgui.C
index 2d01e0144c9cfa7bfbd7a574d28833e14b61ccc2..1095238feef887aa8b5f68ed09e8df320577986e 100644
(file)
--- 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));
}
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 ) {
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));
}
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;
}
return y1;
}