kopia lustrzana https://github.com/jameshball/osci-render
Merge branch 'develop'
commit
8418fb65bf
|
@ -229,6 +229,9 @@ void MainComponent::resized() {
|
|||
auto shiftedBounds = bounds;
|
||||
shiftedBounds.setX(topLeft.getX());
|
||||
shiftedBounds.setY(topLeft.getY());
|
||||
if (minDim < 35) {
|
||||
minDim = 35;
|
||||
}
|
||||
pluginEditor.visualiser.setBounds(shiftedBounds.withSizeKeepingCentre(minDim - 25, minDim));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,6 +50,12 @@ void SosciPluginEditor::resized() {
|
|||
visualiserSettings.setSize(settingsArea.getWidth(), 550);
|
||||
visualiserSettingsWrapper.setBounds(settingsArea);
|
||||
|
||||
if (area.getWidth() < 10) {
|
||||
area.setWidth(10);
|
||||
}
|
||||
if (area.getHeight() < 10) {
|
||||
area.setHeight(10);
|
||||
}
|
||||
visualiser.setBounds(area);
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue