confirm prefs update, fix bg_pixmap sz, plugin layout tweaks
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / gwindowgui.C
index 3bcb853ef4b30e3eef5e88c11823db6639e3f1b3..bc250716b68b3937500159f6c779b21a0499d037 100644 (file)
@@ -268,6 +268,7 @@ void GWindowGUI::create_objects()
                        }
                        if( !vframe ) {
                                int wh = toggle->get_h() - yS(4);
+                               if( wh < 1 ) wh = 1;
                                GWindowColorButton *color_button =
                                        new GWindowColorButton(toggle, get_w()-wh-ys10, y+yS(2), wh, color);
                                add_tool(color_button);