1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Resize standalone plug-in window when scale factor is changed

This commit is contained in:
ed 2019-07-16 14:46:54 +01:00
parent 6dda52b98b
commit de4f6fe0fa

View file

@ -854,9 +854,9 @@ private:
}
//==============================================================================
void componentMovedOrResized (Component&, bool, bool wasResized) override
void componentMovedOrResized (Component&, bool, bool) override
{
if (wasResized && editor != nullptr)
if (editor != nullptr)
{
auto rect = getSizeToContainEditor();