[gnome-games/wip/exalm/thumbnails: 2/3] game-thumbnail: Stop adding 0.5 border for covers



commit b8b1a6fd63137a22c26f9ea59fe9719aa6294356
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Jun 4 17:37:53 2020 +0500

    game-thumbnail: Stop adding 0.5 border for covers
    
    This never made much sense, but now it's essentially weird as it doesn't
    match the black css background.

 src/ui/game-thumbnail.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/ui/game-thumbnail.vala b/src/ui/game-thumbnail.vala
index 67810877..eec83af7 100644
--- a/src/ui/game-thumbnail.vala
+++ b/src/ui/game-thumbnail.vala
@@ -224,7 +224,7 @@ private class Games.GameThumbnail : Gtk.DrawingArea {
                var cr = new Cairo.Context (mask);
                cr.scale (scale_factor, scale_factor);
                cr.set_source_rgb (0, 0, 0);
-               rounded_rectangle (cr, 0.5, 0.5, context.width - 1, context.height - 1, border_radius);
+               rounded_rectangle (cr, 0, 0, context.width, context.height, border_radius);
                cr.fill ();
 
                return mask;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]