We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a68137 commit 4977f45Copy full SHA for 4977f45
src/app/PluginEditor.cpp
@@ -167,7 +167,6 @@ PluginEditor::resized()
167
p.setSizeFactor(newSize);
168
169
// Debounced resizing logic
170
- static bool firstDraw = true;
171
if (firstDraw) {
172
// On first draw, skip debounce and just layout normally
173
compositor.setBounds(getLocalBounds());
src/app/PluginEditor.h
@@ -46,6 +46,7 @@ class PluginEditor
46
int lastHeight = baseHeight;
47
double ratio = baseWidth / baseHeight;
48
float& sizeFactor = p.sizeFactor;
49
+ bool firstDraw = true;
50
//==============================================================================
51
Image image;
52
bool isResizing = false;
0 commit comments