diff --git a/plugins/editor/src/editor/GUIComponents.cpp b/plugins/editor/src/editor/GUIComponents.cpp index b349ecef..bc3d718b 100644 --- a/plugins/editor/src/editor/GUIComponents.cpp +++ b/plugins/editor/src/editor/GUIComponents.cpp @@ -707,8 +707,6 @@ void SControlsPanel::updateLayout() } } - CRect containerSize = getContainerSize(); - containerSize.bottom = containerBottom; setContainerSize(CRect(0.0, 0.0, viewBounds.getWidth(), containerBottom + verticalPadding)); invalid();