13
0

VST3: do not show bypass control inline

This commit is contained in:
Robin Gareus 2020-10-13 01:25:58 +02:00
parent 63ad43dbd9
commit 48e4855304
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1600,7 +1600,7 @@ VST3PI::get_parameter_descriptor (uint32_t port, ParameterDescriptor& desc) cons
}
FUnknownPtr<IEditControllerExtra> extra_ctrl (_controller);
if (extra_ctrl) {
if (extra_ctrl && port != designated_bypass_port ()) {
int32 flags = extra_ctrl->getParamExtraFlags (id);
desc.inline_ctrl = (flags & kParamFlagMicroEdit) ? true : false;
}