From 4a7e770bf9260f41faeb47dfaf2ec2a24163ecb2 Mon Sep 17 00:00:00 2001 From: JianjunLiu Date: Tue, 21 Mar 2023 10:44:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正黑色0值的问题 --- designer/utslsynmemo.tsf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/designer/utslsynmemo.tsf b/designer/utslsynmemo.tsf index f5aa01f..a644414 100644 --- a/designer/utslsynmemo.tsf +++ b/designer/utslsynmemo.tsf @@ -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;