diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index 8108425..aaa3c68 100644 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -779,13 +779,13 @@ void MainContentComponent::paint(juce::Graphics& g) { logoLoaded = true; } if (logoImage.isValid()) { - int gap = 8; - int logoH = 124 - gap * 2; - int logoW = logoImage.getHeight() > 0 - ? static_cast(logoH * static_cast(logoImage.getWidth()) / logoImage.getHeight()) - : logoH; + int logoW = 440; + int logoH = logoImage.getWidth() > 0 + ? static_cast(logoW * static_cast(logoImage.getHeight()) / logoImage.getWidth()) + : logoW; int logoX = (getWidth() - logoW) / 2; - auto logoArea = juce::Rectangle(logoX, gap, logoW, logoH); + int logoY = (124 - logoH) / 2; + auto logoArea = juce::Rectangle(logoX, logoY, logoW, logoH); juce::Graphics::ScopedSaveState saved(g); g.setOpacity(0.8f); g.drawImage(logoImage, logoArea.toFloat(), juce::RectanglePlacement::centred); diff --git a/shot.png b/shot.png index 860fbda..95d09a2 100644 Binary files a/shot.png and b/shot.png differ