Browse Source

Plugin host compile fix.

tags/2021-05-28
jules 12 years ago
parent
commit
a593017595
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp

+ 1
- 1
modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp View File

@@ -2619,7 +2619,7 @@ private:
{
if (ComponentPeer* const peer = getPeer())
{
const Point<int> pos (getScreenPosition() - peer->getScreenPosition());
const Point<int> pos (peer->globalToLocal (getScreenPosition()));
ERect r;
r.left = (VstInt16) pos.getX();
r.top = (VstInt16) pos.getY();


Loading…
Cancel
Save