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