From 8ab1670eea27a8c06cfd598808c5febcc4d7d362 Mon Sep 17 00:00:00 2001 From: csh Date: Wed, 20 Nov 2024 17:06:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A1=AB=E5=85=85=E8=89=B2sh?= =?UTF-8?q?d=E7=9A=84=E5=80=BC=E6=98=AFclear=E8=A1=A8=E7=A4=BA=E4=B8=8D?= =?UTF-8?q?=E5=A1=AB=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- range/basic/TSPdfBordersRange.tsf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/range/basic/TSPdfBordersRange.tsf b/range/basic/TSPdfBordersRange.tsf index b6ab5a7..d738cf4 100644 --- a/range/basic/TSPdfBordersRange.tsf +++ b/range/basic/TSPdfBordersRange.tsf @@ -28,7 +28,7 @@ end; function TSPdfBordersRange.Do();override; begin // println("Left = {}, Top = {}, Right = {}, Bottom = {}, Tl2Br = {}, Tr2Bl = {}", Left, Top, Right, Bottom, Tl2Br, Tr2Bl); - if {self.}TcPr.Shd.Fill then + if {self.}TcPr.Shd.Fill and {self.}TcPr.Shd.Val <> "clear" then begin [r, g, b] := array(0, 0, 0); if {self.}TcPr.Shd.Fill <> "auto" then [r, g, b] := TSColorToolKit.HexToRGB({self.}TcPr.Shd.Fill);