mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-04-08 17:15:37 +02:00
Fix error from commit b6efff4
This commit is contained in:
parent
b6efff4157
commit
82b78ff7b8
@ -2618,6 +2618,8 @@ void ScintillaEditView::performGlobalStyles()
|
||||
|
||||
if (nppParams.isSelectFgColorEnabled())
|
||||
{
|
||||
execute(SCI_SETSELFORE, 1, selectColorFore);
|
||||
|
||||
long alphaSelectColorFore = selectColorFore;
|
||||
alphaSelectColorFore |= 0xFF000000; // add alpha color to make DirectWrite mode work
|
||||
execute(SCI_SETELEMENTCOLOUR, SC_ELEMENT_SELECTION_INACTIVE_TEXT, alphaSelectColorFore);
|
||||
|
Loading…
x
Reference in New Issue
Block a user