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

VST Host: Fix graphical artefacts when resizing editor views on Windows

This commit is contained in:
reuk 2021-06-16 13:50:43 +01:00
parent 63284e783d
commit 2c1081d2a8
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -2866,9 +2866,9 @@ public:
#else
void paint (Graphics& g) override
{
#if JUCE_LINUX || JUCE_BSD
if (isOpen)
{
#if JUCE_LINUX || JUCE_BSD
if (pluginWindow != 0)
{
auto clip = g.getClipBounds();
@ -2877,9 +2877,9 @@ public:
static_cast<unsigned int> (clip.getWidth()),
static_cast<unsigned int> (clip.getHeight()), True);
}
#endif
}
else
#endif
{
g.fillAll (Colours::black);
}