This commit is contained in:
Kovid Goyal 2017-06-05 23:58:36 +05:30
parent 348fe4ada4
commit 4989b1f8bb
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -119,8 +119,8 @@ class Borders:
border( border(
color, bw, g.left - fw, g.top - fw, g.right + fw, color, bw, g.left - fw, g.top - fw, g.right + fw,
g.bottom + fw) g.bottom + fw)
# Now draw the blank rectangles over the padding region
if pw > 0: if pw > 0:
# Draw the background rectangles over the padding region
color = 0 color = 0
border( border(
color, pw, g.left - pw, g.top - pw, g.right + pw, color, pw, g.left - pw, g.top - pw, g.right + pw,