Bläddra i källkod

make it use GetClientSize instead of GetMinSize for when resizing the panel (though at this point I don't think it's going to help anymore)

jp9000 12 år sedan
förälder
incheckning
e1a32f8eac
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      obs/window-basic-main.cpp

+ 1 - 1
obs/window-basic-main.cpp

@@ -191,7 +191,7 @@ void OBSBasic::OnResizePreview(wxSizeEvent &event)
 {
 	event.Skip();
 
-	wxSize newSize = previewPanel->GetMinSize();
+	wxSize newSize = previewPanel->GetClientSize();
 
 	graphics_t graphics = obs_graphics();
 	if (graphics) {