Decide for a slightly darker gray value for non-focused cells of selected nodes. Fixes issue #1757.

This commit is contained in:
Ansgar Becker
2010-03-11 21:59:43 +00:00
parent 1e13ecae2a
commit 1e7b3e235c

View File

@ -7559,7 +7559,7 @@ begin
if (vsSelected in Node.States) and (Node = Sender.FocusedNode) and (Column = Sender.FocusedColumn) then if (vsSelected in Node.States) and (Node = Sender.FocusedNode) and (Column = Sender.FocusedColumn) then
cl := clHighlight cl := clHighlight
else if vsSelected in Node.States then else if vsSelected in Node.States then
cl := $00EEEEEE cl := $00DDDDDD
else if prefEnableNullBG and gr.Rows[Node.Index].Cells[Column].IsNull then else if prefEnableNullBG and gr.Rows[Node.Index].Cells[Column].IsNull then
cl := prefNullBG; cl := prefNullBG;
if cl <> clNone then begin if cl <> clNone then begin