From f68edabb8cdb5aa894a520933d684dc4c237f8a2 Mon Sep 17 00:00:00 2001 From: Jose Diaz Rohena Date: Sat, 30 Dec 2023 19:11:53 +0100 Subject: [PATCH] tweak editor ratio --- src/PluginEditor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/PluginEditor.h b/src/PluginEditor.h index ce8108a7..a7241238 100644 --- a/src/PluginEditor.h +++ b/src/PluginEditor.h @@ -35,8 +35,7 @@ class ValentineAudioProcessorEditor : public juce::AudioProcessorEditor VMainPanel mainPanel; - // in figma ~ 5053 x 1741. ratio = 2.9 ish width to height - static constexpr float ratio = 2.5f; + static constexpr float ratio = 2.02f; static constexpr int minimumWidth = 700; static constexpr int startingWidth = 1000; static constexpr int maximumWidth = 2000;