1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
jules 2007-10-30 21:10:29 +00:00
parent 813feccaa7
commit 130d8d88d0

View file

@ -1340,7 +1340,16 @@ public:
getWidth(), getHeight());
#if JUCE_MAC
dispatch (effEditDraw, 0, 0, 0, 0);
if (pluginViewRef == 0)
{
ERect r;
r.left = getScreenX() - peer->getScreenX();
r.right = r.left + getWidth();
r.top = getScreenY() - peer->getScreenY();
r.bottom = r.top + getHeight();
dispatch (effEditDraw, 0, 0, &r, 0);
}
#elif JUCE_LINUX
if (pluginWindow != 0)
{