1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

VST3: Check for non-integer scale factors when running in DPI-aware Cubase 10

This commit is contained in:
ed 2018-12-20 14:43:33 +00:00
parent ca9a50ea82
commit 55ccb3f1d5

View file

@ -1021,6 +1021,10 @@ private:
ed->setScaleFactor ((float) factor);
#endif
// Cubase 10 doesn't support non-integer scale factors...
if (getHostType().type == PluginHostType::SteinbergCubase10)
component->checkScaleFactorIsCorrect();
component->resizeHostWindow();
component->setTopLeftPosition (0, 0);
component->repaint();