Don't check result on IPlugView::onSize()

Melda plugins always return `kResultFalse`, so we should just assume the
resize succeeds.
This commit is contained in:
Robbert van der Helm
2021-07-21 20:45:04 +02:00
parent 0ed75b5ce4
commit d13f39dce5
+4 -1
View File
@@ -865,7 +865,10 @@ void Vst3Bridge::run() {
// Also resize our wrapper window if the plugin agreed to
// the new size
if (result == Steinberg::kResultOk && instance.editor) {
// NOTE: MeldaProduction plugins return `kResultFalse` even
// if they accept the resize, so we shouldn't check
// the result here
if (instance.editor) {
instance.editor->resize(request.new_size.getWidth(),
request.new_size.getHeight());
}