Update PluginEditor.cpp
Fixed plugin version repaint issue using wrong assets on Hi-DPI displays
This commit is contained in:
parent
903d1dd32e
commit
d6b67f6786
1 changed files with 3 additions and 3 deletions
|
@ -71,9 +71,9 @@ ObxdAudioProcessorEditor::ObxdAudioProcessorEditor (ObxdAudioProcessor& ownerFil
|
||||||
ScalableComponent::setScaleFactor(2.0f, isHighResolutionDisplay());
|
ScalableComponent::setScaleFactor(2.0f, isHighResolutionDisplay());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
repaint();
|
||||||
scaleFactorChanged();
|
scaleFactorChanged();
|
||||||
//repaint();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1325,7 +1325,7 @@ void ObxdAudioProcessorEditor::paint(Graphics& g)
|
||||||
if (newPhysicalPixelScaleFactor != processor.physicalPixelScaleFactor)
|
if (newPhysicalPixelScaleFactor != processor.physicalPixelScaleFactor)
|
||||||
{
|
{
|
||||||
processor.physicalPixelScaleFactor = newPhysicalPixelScaleFactor;
|
processor.physicalPixelScaleFactor = newPhysicalPixelScaleFactor;
|
||||||
//triggerAsyncUpdate();
|
scaleFactorChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
g.fillAll (Colours::black);
|
g.fillAll (Colours::black);
|
||||||
|
|
Loading…
Reference in a new issue