@ -164,7 +164,7 @@ public class UIResizableContainer extends JPanel {
* @param toolPaneY
*/
public void setLastToolPaneY(int toolPaneY) {
this.toolPaneY = toolPaneY;
this.toolPaneY = Math.min(toolPaneY, (getHeight() - toolPaneHeight));
}
/**