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:
parent
ca9a50ea82
commit
55ccb3f1d5
1 changed files with 4 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue