mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed a potential infinite resize loop when using the standalone plug-in window with a transformed editor
This commit is contained in:
parent
60b6afd517
commit
dc8145fe6a
1 changed files with 2 additions and 2 deletions
|
|
@ -751,8 +751,8 @@ private:
|
|||
notification.setBounds (r.removeFromTop (NotificationArea::height));
|
||||
|
||||
if (editor != nullptr)
|
||||
editor->setBounds (editor->getLocalArea (this, r)
|
||||
.withPosition (r.getTopLeft().transformedBy (editor->getTransform().inverted())));
|
||||
editor->setBounds (editor->getLocalArea (this, r.toFloat())
|
||||
.withPosition (editor->getLocalPoint (this, r.getTopLeft().toFloat())).toNearestInt());
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue