diff --git a/src/ui/pluginwindow.cpp b/src/ui/pluginwindow.cpp index ab4e2d074..f1200a372 100644 --- a/src/ui/pluginwindow.cpp +++ b/src/ui/pluginwindow.cpp @@ -324,7 +324,7 @@ PluginWindow::~PluginWindow() setLookAndFeel (nullptr); } -float PluginWindow::getDesktopScaleFactor() const { return 1.f; } +float PluginWindow::getDesktopScaleFactor() const { return (float) juce::Desktop::getInstance().getGlobalScaleFactor(); } Content* PluginWindow::getElementContentComponent() const {