Merge pull request #2630 from psychon/fix_background_foreground

background container: Actually set the foreground color
This commit is contained in:
mergify[bot] 2019-02-01 15:04:11 +00:00 committed by GitHub
commit a7474412da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,10 @@ function background:before_draw_children(context, cr, width, height)
end
cr:restore()
end
if self._private.foreground then
cr:set_source(self._private.foreground)
end
end
-- Draw the border