Hi,
I noticed that when starting H2 with the mixer visible, it's not drawn
correctly. Most of the channels are stacked on top of each other at the
left edge. When starting H2 with the mixer hidden and then making it
visible, it's drawn correctly. The patch below fixes it for me. I did
not dig deeply to see if this is a proper fix or a just a workaround. I
still have issues when adding a new instrument and the new mixer channel
is stacked at the far left hand side of the mixer window instead of its
proper place. Deleting an instrument (causing a redraw of the mixer)
puts the channel in it's proper place.
-Scott
Index: gui/src/HydrogenApp.cpp
===================================================================
--- gui/src/HydrogenApp.cpp (revision 241)
+++ gui/src/HydrogenApp.cpp (working copy)
@@ -199,6 +199,7 @@
WindowProperties mixerProp = pPref->getMixerProperties();
m_pMixer->resize( mixerProp.width, mixerProp.height );
m_pMixer->move( mixerProp.x, mixerProp.y );
+ m_pMixer->updateMixer();
if ( mixerProp.visible ) {
m_pMixer->show();
}
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel