We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44c208f commit bcb78ffCopy full SHA for bcb78ff
1 file changed
Source/PluginEditor.cpp
@@ -74,6 +74,9 @@ class CalloutArea final : public Component
74
75
float getDesktopScaleFactor() const override
76
{
77
+#if JUCE_MAC
78
+ return 1.0f; // macOS deals with this for us, otherwise this breaks with multi-display setups
79
+#endif
80
return getApproximateScaleFactorForComponent(target);
81
};
82
@@ -87,8 +90,8 @@ PluginEditor::PluginEditor(PluginProcessor& p)
87
90
, pd(&p)
88
91
, sidebar(std::make_unique<Sidebar>(&p, this))
89
92
, statusbar(std::make_unique<Statusbar>(&p, this))
- , openedDialog(nullptr)
93
, nvgSurface(this)
94
+ , openedDialog(nullptr)
95
, pluginConstrainer(*getConstrainer())
96
, tooltipWindow(nullptr, [](Component* c) {
97
if (auto const* cnv = c->findParentComponentOfClass<Canvas>()) {
0 commit comments