kopia lustrzana https://github.com/jameshball/osci-render
Fix bugs with saving resize positions on vsts
rodzic
445f56b520
commit
37f4252a00
|
@ -63,8 +63,10 @@ void SettingsComponent::resized() {
|
||||||
|
|
||||||
effects.setBounds(dummyBounds);
|
effects.setBounds(dummyBounds);
|
||||||
|
|
||||||
|
if (isVisible() && getWidth() > 0 && getHeight() > 0) {
|
||||||
audioProcessor.setProperty("midiLayoutPreferredSize", midiLayout.getItemCurrentRelativeSize(2));
|
audioProcessor.setProperty("midiLayoutPreferredSize", midiLayout.getItemCurrentRelativeSize(2));
|
||||||
audioProcessor.setProperty("mainLayoutPreferredSize", mainLayout.getItemCurrentRelativeSize(0));
|
audioProcessor.setProperty("mainLayoutPreferredSize", mainLayout.getItemCurrentRelativeSize(0));
|
||||||
|
}
|
||||||
|
|
||||||
repaint();
|
repaint();
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue