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

Linux: Fixed an occasional bug causing the top-left of VST2 plug-ins to be incorrect

This commit is contained in:
ed 2020-01-10 16:35:54 +00:00
parent f5991879c5
commit eedb9e9833

View file

@ -2927,7 +2927,11 @@ public:
if (auto* peer = getTopLevelComponent()->getPeer())
setScaleFactorAndDispatchMessage (peer->getPlatformScaleFactor());
#if JUCE_LINUX
MessageManager::callAsync ([this] { componentMovedOrResized (true, true); });
#else
componentMovedOrResized (true, true);
#endif
}
using ComponentMovementWatcher::componentVisibilityChanged;