aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/avatar_drawer.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2020-06-28 11:43:39 +0200
committerMarvin W <git@larma.de>2020-06-28 11:53:43 +0200
commitc16fbdd19f3962f7dc2cfc6f7623448000a49bc5 (patch)
tree054cb7b976b2f2000731930429cb1ed5c12b87af /main/src/ui/avatar_drawer.vala
parentaf98b8ea0fd256e0860695615b0b2992523591fc (diff)
downloaddino-c16fbdd19f3962f7dc2cfc6f7623448000a49bc5.tar.gz
dino-c16fbdd19f3962f7dc2cfc6f7623448000a49bc5.zip
Clean up some image rendering code
Diffstat (limited to 'main/src/ui/avatar_drawer.vala')
-rw-r--r--main/src/ui/avatar_drawer.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/ui/avatar_drawer.vala b/main/src/ui/avatar_drawer.vala
index 8b7cd0f2..c14d7fda 100644
--- a/main/src/ui/avatar_drawer.vala
+++ b/main/src/ui/avatar_drawer.vala
@@ -123,6 +123,7 @@ public class AvatarDrawer {
ctx.rectangle(0, 0, width, height);
ctx.fill();
}
+ ctx.set_source_rgb(0, 0, 0);
}
private Cairo.Surface sub_surface_idx(Cairo.Context ctx, int idx, int width, int height, int font_factor = 1) {