From fa2cbf8369273c247384ed8ba32a760ed8fb2717 Mon Sep 17 00:00:00 2001 From: v0lt Date: Thu, 7 Mar 2024 21:37:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=20?= =?UTF-8?q?=D0=BE=D0=BF=D1=86=D0=B8=D0=B8=20"AudioWindowMode"=20=D0=B4?= =?UTF-8?q?=D0=BB=D1=8F=20=D1=81=D0=BB=D1=83=D1=87=D0=B0=D1=8F,=20=D0=BA?= =?UTF-8?q?=D0=BE=D0=B3=D0=B4=D0=B0=20=D0=BD=D0=B0=D0=B4=D0=BE=20=D1=81?= =?UTF-8?q?=D0=BA=D1=80=D1=8B=D0=B2=D0=B0=D1=82=D1=8C=20=D0=B2=D0=B8=D0=B4?= =?UTF-8?q?=D0=B5=D0=BE=D0=BE=D0=B1=D0=BB=D0=B0=D1=81=D1=82=D1=8C.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/mplayerc/MainFrm.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/mplayerc/MainFrm.cpp b/src/apps/mplayerc/MainFrm.cpp index 8d055691b1..f060f4aebb 100644 --- a/src/apps/mplayerc/MainFrm.cpp +++ b/src/apps/mplayerc/MainFrm.cpp @@ -1660,7 +1660,8 @@ void CMainFrame::OnGetMinMaxInfo(MINMAXINFO* lpMMI) { const BOOL bMenuVisible = IsMainMenuVisible(); - lpMMI->ptMinTrackSize = { 32, 32 }; // minimum video area size + // minimum video area size 32 x 32 + lpMMI->ptMinTrackSize = { 32, (m_bAudioOnly && AfxGetAppSettings().nAudioWindowMode == 2) ? 0 : 32 }; CSize cSize; CalcControlsSize(cSize); lpMMI->ptMinTrackSize.x += cSize.cx;