Skip to content

Commit

Permalink
Fix wrong display of DarkMode on the 2nd monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
donho committed Apr 22, 2024
1 parent 018d4f9 commit 3c06d89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PowerEditor/src/WinControls/Preference/preferenceDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1538,6 +1538,7 @@ intptr_t CALLBACK DarkModeSubDlg::run_dlgProc(UINT message, WPARAM wParam, LPARA
_pHotEdgeColorPicker->init(_hInst, _hSelf);
_pDisabledEdgeColorPicker->init(_hInst, _hSelf);

DPIManagerV2::setDpi(_hSelf);
const int cpDynamicalSize = DPIManagerV2::scale(25);

move2CtrlLeft(IDD_CUSTOMIZED_COLOR1_STATIC, _pPureBackgroundColorPicker->getHSelf(), cpDynamicalSize, cpDynamicalSize);
Expand Down

0 comments on commit 3c06d89

Please sign in to comment.