Fix wrong display of DarkMode on the 2nd monitor

pull/15029/head
Don Ho 2024-04-22 05:33:45 +02:00
parent 018d4f9a1f
commit 3c06d89b2a
1 changed files with 1 additions and 0 deletions

View File

@ -1538,6 +1538,7 @@ intptr_t CALLBACK DarkModeSubDlg::run_dlgProc(UINT message, WPARAM wParam, LPARA
_pHotEdgeColorPicker->init(_hInst, _hSelf); _pHotEdgeColorPicker->init(_hInst, _hSelf);
_pDisabledEdgeColorPicker->init(_hInst, _hSelf); _pDisabledEdgeColorPicker->init(_hInst, _hSelf);
DPIManagerV2::setDpi(_hSelf);
const int cpDynamicalSize = DPIManagerV2::scale(25); const int cpDynamicalSize = DPIManagerV2::scale(25);
move2CtrlLeft(IDD_CUSTOMIZED_COLOR1_STATIC, _pPureBackgroundColorPicker->getHSelf(), cpDynamicalSize, cpDynamicalSize); move2CtrlLeft(IDD_CUSTOMIZED_COLOR1_STATIC, _pPureBackgroundColorPicker->getHSelf(), cpDynamicalSize, cpDynamicalSize);