From 2824d6fc5f68c07e555c2aaf87c4178b04a295f2 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Mon, 24 Jun 2019 15:12:35 -0700 Subject: [PATCH] Fix aspect ratio of splash logo in win32 launcher --- launchers/win32/LauncherDlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launchers/win32/LauncherDlg.cpp b/launchers/win32/LauncherDlg.cpp index 98c61794a0..a031120541 100644 --- a/launchers/win32/LauncherDlg.cpp +++ b/launchers/win32/LauncherDlg.cpp @@ -275,7 +275,7 @@ void CLauncherDlg::drawLogo(CHwndRenderTarget* pRenderTarget) { CD2DBitmap m_pBitmamLogo(pRenderTarget, IDB_PNG2, _T("PNG")); auto size = pRenderTarget->GetSize(); int logoWidth = 231; - int logoHeight = 181; + int logoHeight = 173; float logoPosX = 0.5f * (size.width - logoWidth); float logoPosY = 0.95f * (size.height - logoHeight); CD2DRectF logoRec(logoPosX, logoPosY, logoPosX + logoWidth, logoPosY + logoHeight);