File tree 1 file changed +9
-8
lines changed
1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -181,14 +181,6 @@ void Sidebar::resized()
181
181
182
182
auto dividerPos = getHeight () * (1 .0f - dividerFactor);
183
183
184
- browserPanel->setBounds (bounds);
185
- automationPanel->setBounds (bounds);
186
- searchPanel->setBounds (bounds);
187
-
188
- // We need to give the inspector bounds to start with - even if it's not visible
189
- inspector->setBounds (bounds);
190
- consolePanel->setBounds (bounds);
191
-
192
184
if (inspector->isVisible ()) {
193
185
if (inspectorButton.isInspectorAuto ()) {
194
186
if (extraSettingsButton)
@@ -210,9 +202,18 @@ void Sidebar::resized()
210
202
}
211
203
}
212
204
} else {
205
+ // We need to give the inspector bounds to start with - even if it's not visible
206
+ inspector->setBounds (bounds);
213
207
if (resetInspectorButton)
214
208
resetInspectorButton->setVisible (false );
215
209
}
210
+
211
+
212
+ browserPanel->setBounds (bounds);
213
+ automationPanel->setBounds (bounds);
214
+ searchPanel->setBounds (bounds);
215
+ consolePanel->setBounds (bounds);
216
+
216
217
}
217
218
218
219
void Sidebar::mouseDown (MouseEvent const & e)
You can’t perform that action at this time.
0 commit comments