fix, diff viewer, unmodified text not visible with dark themes

This commit is contained in:
Basile Burg 2023-08-28 10:15:29 +02:00
parent 263f2a1121
commit 011907d934
2 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,9 @@
# v3.9.26-alpha # v3.9.26-devel
## Bugx fixed ## Bugx fixed
- fixed windows release (#116). ldc2 >= 1.31.0 is a minimal requirement now. - Fixed windows release (#116). ldc2 >= 1.31.0 is a minimal requirement now.
- The context lines of the diff viewer were not legible whith dark themes.
# v3.9.25 # v3.9.25

View File

@ -41,7 +41,10 @@ begin
editor.Gutter.LineNumberPart.Visible:=false; editor.Gutter.LineNumberPart.Visible:=false;
if ed.isAssigned then if ed.isAssigned then
begin
editor.Font.Assign(ed.Font); editor.Font.Assign(ed.Font);
editor.Color := ed.Color;
end;
p := TProcess.Create(self); p := TProcess.Create(self);
try try