编辑器

修正黑色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

@ -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;