1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-16 00:34:19 +00:00

VST3 window size fix.

This commit is contained in:
jules 2014-05-08 19:18:10 +01:00
parent 0bf1862ec6
commit 2e8b09b3eb

View file

@ -1502,6 +1502,11 @@ public:
{
rect.right = (Steinberg::int32) getWidth();
rect.bottom = (Steinberg::int32) getHeight();
view->checkSizeConstraint (&rect);
setSize ((int) rect.getWidth(),
(int) rect.getHeight());
view->onSize (&rect);
}
else