File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ class CalloutArea final : public Component
7474
7575 float getDesktopScaleFactor () const override
7676 {
77+ #if JUCE_MAC
78+ return 1 .0f ; // macOS deals with this for us, otherwise this breaks with multi-display setups
79+ #endif
7780 return getApproximateScaleFactorForComponent (target);
7881 };
7982
@@ -87,8 +90,8 @@ PluginEditor::PluginEditor(PluginProcessor& p)
8790 , pd(&p)
8891 , sidebar(std::make_unique<Sidebar>(&p, this ))
8992 , statusbar(std::make_unique<Statusbar>(&p, this ))
90- , openedDialog(nullptr )
9193 , nvgSurface(this )
94+ , openedDialog(nullptr )
9295 , pluginConstrainer(*getConstrainer ())
9396 , tooltipWindow(nullptr , [](Component* c) {
9497 if (auto const * cnv = c->findParentComponentOfClass <Canvas>()) {
You can’t perform that action at this time.
0 commit comments