mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
ADD: Use file specified color as textcolor for framecursor
This commit is contained in:
parent
acbd062da7
commit
aa36a95403
1 changed files with 4 additions and 0 deletions
|
|
@ -3833,6 +3833,7 @@ var
|
|||
end;
|
||||
|
||||
newColor := gColorExt.GetColorBy(AFile.TheFile);
|
||||
if newColor=-1 then newcolor:=ColumnsSet.GetColumnTextColor(ACol);
|
||||
|
||||
if AFile.Selected then
|
||||
begin
|
||||
|
|
@ -3862,6 +3863,9 @@ var
|
|||
end
|
||||
else if (gdSelected in aState) and ColumnsView.FActive then
|
||||
begin
|
||||
if gUseFrameCursor then
|
||||
Canvas.Font.Color := newColor
|
||||
else
|
||||
Canvas.Font.Color := ColumnsSet.GetColumnCursorText(ACol);
|
||||
end
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue