编辑器

修正黑色0值的问题
This commit is contained in:
JianjunLiu 2023-03-21 10:44:30 +08:00
parent 3205732fdf
commit 4a7e770bf9
1 changed files with 3 additions and 2 deletions

View File

@ -78,7 +78,7 @@ type thighlitcolor = class(tcomponent)
begin
FColors[i] := new tcolor(v["back"]);
end else
FColors[i] := new tcolor(v["font"]);
FColors[i] := new tcolor(v["font"]);
end
end
end
@ -90,7 +90,8 @@ type thighlitcolor = class(tcomponent)
if i="back" then
begin
v.changed := false;
v.color := cls["×ÖÌå"]["back"];
bc := cls["×ÖÌå"]["back"];
v.color := (bc=0)?1:bc;
if v.changed then
begin
cgd .|= 2;