Browse Source

VST3: Repaint editor when size changes in Bitwig on Linux to fix UI glitches

tags/2021-05-28
ed 5 years ago
parent
commit
94330cbb53
1 changed files with 9 additions and 2 deletions
  1. +9
    -2
      modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp

+ 9
- 2
modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp View File

@@ -1567,8 +1567,15 @@ private:
{
lastBounds = b;
const ScopedValueSetter<bool> resizingParentSetter (resizingParent, true);
resizeHostWindow();
{
const ScopedValueSetter<bool> resizingParentSetter (resizingParent, true);
resizeHostWindow();
}
#if JUCE_LINUX
if (getHostType().isBitwigStudio())
repaint();
#endif
}
}


Loading…
Cancel
Save