编辑器

修正手误
This commit is contained in:
JianjunLiu
2023-01-13 17:35:58 +08:00
parent 7859332e70
commit a9583c24b2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -4246,7 +4246,7 @@ type thighlightercoloredter=class(tvcform)
begin
if flistboxchanging then return ;
idx := listbox1.ItemIndex;
if idx >=0 and idx<7 then
if idx <7 and idx>=0 then
begin
cl := colorcombobox1.getcurrentColor();
ffrontcolors[idx] := cl;
@@ -4341,7 +4341,7 @@ type thighlightercoloredter=class(tvcform)
begin
ftcl := ffrontcolors[0];
cl := fbkcols[id];
end
end
if cl>=0 or cl<0 then
begin
cvs.brush.Color := cl;