|
|
@@ -1267,8 +1267,9 @@ private: |
|
|
tresult PLUGIN_API setContentScaleFactor (Steinberg::IPlugViewContentScaleSupport::ScaleFactor factor) override
|
|
|
tresult PLUGIN_API setContentScaleFactor (Steinberg::IPlugViewContentScaleSupport::ScaleFactor factor) override
|
|
|
{
|
|
|
{
|
|
|
#if ! JUCE_MAC
|
|
|
#if ! JUCE_MAC
|
|
|
// Cubase 10 doesn't support non-integer scale factors...
|
|
|
|
|
|
if (getHostType().type == PluginHostType::SteinbergCubase10)
|
|
|
|
|
|
|
|
|
auto hostType = getHostType().type;
|
|
|
|
|
|
|
|
|
|
|
|
if (hostType == PluginHostType::SteinbergCubase10 || hostType == PluginHostType::FruityLoops)
|
|
|
{
|
|
|
{
|
|
|
if (component.get() != nullptr)
|
|
|
if (component.get() != nullptr)
|
|
|
if (auto* peer = component->getPeer())
|
|
|
if (auto* peer = component->getPeer())
|
|
|
|