Commit 0da09d7b authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko

game-thumbnail: Use 1.0 opacity for masking

Don't draw mask with 0.9 opacity. It was added in the following commit,
for the reasons unknown: 9e96435a

Fixes #186
parent 4d63cdd2
......@@ -316,7 +316,7 @@ private class Games.GameThumbnail : Gtk.DrawingArea {
border_radius = border_radius.clamp (0, int.max (context.width / 2, context.height / 2));
var cr = new Cairo.Context (mask);
cr.set_source_rgba (0, 0, 0, 0.9);
cr.set_source_rgb (0, 0, 0);
rounded_rectangle (cr, 0.5, 0.5, context.width - 1, context.height - 1, border_radius);
cr.fill ();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment