Skip to content

Commit

Permalink
VST3: Repaint editor when size changes in Bitwig on Linux to fix UI g…
Browse files Browse the repository at this point in the history
…litches
  • Loading branch information
ed95 committed Feb 11, 2021
1 parent b5a06b0 commit 94330cb
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp
Expand Up @@ -1567,8 +1567,15 @@ class JuceVST3EditController : public Vst::EditController,
{
lastBounds = b;

const ScopedValueSetter<bool> resizingParentSetter (resizingParent, true);
resizeHostWindow();
{
const ScopedValueSetter<bool> resizingParentSetter (resizingParent, true);
resizeHostWindow();
}

#if JUCE_LINUX
if (getHostType().isBitwigStudio())
repaint();
#endif
}
}

Expand Down

0 comments on commit 94330cb

Please sign in to comment.