chkn
1
I use a component transform to be able to scale the whole component GUI of a plugin.
Component- hierarchy
PluginEditor
Container-Component for scaling
CustomEditorComponent(scaled, with openGL render attached)
I need the correct scaling factor for openGL, because I use multiple viewports and custom stuff.
I use getRenderingScale(), while on windows it includes the scale factor of the opengl-attached component, on Mac it does not.
Both behaviours is okay, but it should be the same on both platforms.
With JUCE6 the behaviour was the same with Mac and Windows (component scale factor was not included in getRenderingScale())
attila
2
Thank you for reporting.
A fix was released on develop restoring the old, consistent behaviour
1 Like
attila
3
Unfortunately the previous changed caused a bad regression on Windows.
After much deliberation we decided to revert them, and make scaling consistent by adjusting the MacOS code.
With this new commit, AffineTransforms are included in getRenderingScale() on MacOS as well.
1 Like