• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision28836 (tree)
Zeit2020-03-28 17:18:51
Autorstefankueng

Log Message

pen size dependent on screen dpi.

Ändern Zusammenfassung

Diff

--- trunk/src/Utils/MiscUI/ThemeControls.cpp (revision 28835)
+++ trunk/src/Utils/MiscUI/ThemeControls.cpp (revision 28836)
@@ -236,7 +236,7 @@
236236 else
237237 pDC->FillSolidRect(rectArrow, RGB(51, 51, 51));
238238
239- auto hPen = CreatePen(PS_SOLID, 2, RGB(180, 180, 180));
239+ auto hPen = CreatePen(PS_SOLID, CDPIAware::Instance().Scale(1), RGB(180, 180, 180));
240240 auto hOldPen = pDC->SelectObject(hPen);
241241
242242 auto hBrush = CreateSolidBrush(RGB(255, 255, 255));
Show on old repository browser