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