Rename vst3_no_scaling to editor_disable_host_scaling

This will also affect CLAP plugins.
This commit is contained in:
Robbert van der Helm
2022-10-01 00:34:34 +02:00
parent 82840ab6df
commit 1b875ad286
6 changed files with 47 additions and 32 deletions
+8 -7
View File
@@ -997,13 +997,14 @@ void Vst3Bridge::run() {
[&](YaPlugViewContentScaleSupport::SetContentScaleFactor& request)
-> YaPlugViewContentScaleSupport::SetContentScaleFactor::
Response {
if (config_.vst3_no_scaling) {
std::cerr << "The host requested the editor GUI to "
"be scaled by a factor of "
<< request.factor
<< ", but the 'vst3_no_scale' option is "
"enabled. Ignoring the request."
<< std::endl;
if (config_.editor_disable_host_scaling) {
std::cerr
<< "The host requested the editor GUI to be "
"scaled by a factor of "
<< request.factor
<< ", but the 'editor_disable_host_scaling' "
"option is enabled. Ignoring the request."
<< std::endl;
return Steinberg::kNotImplemented;
} else {
return main_context_