mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-24 22:34:54 +02:00
Fix regression in Alt icons settings
The regression is Caused by 6729739. Fix #11703
This commit is contained in:
parent
3750cf8fa3
commit
e701c208a6
@ -235,7 +235,7 @@ LRESULT Notepad_plus::init(HWND hwnd)
|
|||||||
pIconListVector.push_back(&_docTabIconListAlt); // 1
|
pIconListVector.push_back(&_docTabIconListAlt); // 1
|
||||||
pIconListVector.push_back(&_docTabIconListDarkMode);// 2
|
pIconListVector.push_back(&_docTabIconListDarkMode);// 2
|
||||||
|
|
||||||
unsigned char indexDocTabIcon = (((tabBarStatus & TAB_ALTICONS) == TAB_ALTICONS) ? 1 : NppDarkMode::isEnabled() ? 2 : 1);
|
unsigned char indexDocTabIcon = (((tabBarStatus & TAB_ALTICONS) == TAB_ALTICONS) ? 1 : NppDarkMode::isEnabled() ? 2 : 0);
|
||||||
|
|
||||||
_mainDocTab.init(_pPublicInterface->getHinst(), hwnd, &_mainEditView, pIconListVector, indexDocTabIcon);
|
_mainDocTab.init(_pPublicInterface->getHinst(), hwnd, &_mainEditView, pIconListVector, indexDocTabIcon);
|
||||||
_subDocTab.init(_pPublicInterface->getHinst(), hwnd, &_subEditView, pIconListVector, indexDocTabIcon);
|
_subDocTab.init(_pPublicInterface->getHinst(), hwnd, &_subEditView, pIconListVector, indexDocTabIcon);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user