mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-17 04:40:18 +08:00
Usability enhancement: Colorize any unfocused cell in a focused row with clInfoBk (mostly light yellow). Helps with identifying the focused row.
This commit is contained in:
@ -6424,6 +6424,9 @@ begin
|
|||||||
if prefEnableNullBG and gr.Rows[Node.Index].Cells[Column].IsNull then begin
|
if prefEnableNullBG and gr.Rows[Node.Index].Cells[Column].IsNull then begin
|
||||||
TargetCanvas.Brush.Color := prefNullBG;
|
TargetCanvas.Brush.Color := prefNullBG;
|
||||||
TargetCanvas.FillRect(CellRect);
|
TargetCanvas.FillRect(CellRect);
|
||||||
|
end else if (vsSelected in Node.States) and (Column <> Sender.FocusedColumn) then begin
|
||||||
|
TargetCanvas.Brush.Color := clInfoBk;
|
||||||
|
TargetCanvas.FillRect(CellRect);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user