This commit is contained in:
Kovid Goyal
2017-06-05 23:58:36 +05:30
parent 348fe4ada4
commit 4989b1f8bb

View File

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