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:
parent
6dda52b98b
commit
de4f6fe0fa
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue