Fix ASCII panel display problem in dark mode + light theme (default styler.xml)
This commit is contained in:
parent
4ae1063774
commit
f65f00c63f
|
@ -124,7 +124,7 @@ INT_PTR CALLBACK AnsiCharPanel::run_dlgProc(UINT message, WPARAM wParam, LPARAM
|
||||||
static bool becomeDarkMode = false;
|
static bool becomeDarkMode = false;
|
||||||
static bool becomeLightMode = false;
|
static bool becomeLightMode = false;
|
||||||
HWND hHeader = ListView_GetHeader(_listView.getHSelf());
|
HWND hHeader = ListView_GetHeader(_listView.getHSelf());
|
||||||
if (NppDarkMode::isEnabled())
|
if (NppDarkMode::isEnabled() && reinterpret_cast<LPNMHDR>(lParam)->hwndFrom == hHeader)
|
||||||
{
|
{
|
||||||
if (!becomeDarkMode)
|
if (!becomeDarkMode)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue