[gnome-chess] Make pause overlay transparent



commit 0914016c14fdf662596a153fa32d2ba9fe843c3c
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Jul 6 11:47:14 2014 -0500

    Make pause overlay transparent
    
    The pieces are hidden anyway, so this results in us showing an empty
    board.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720284

 src/chess-view.vala |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/chess-view.vala b/src/chess-view.vala
index 1410a9b..c2dc394 100644
--- a/src/chess-view.vala
+++ b/src/chess-view.vala
@@ -303,8 +303,7 @@ public class ChessView : Gtk.DrawingArea
     {
         c.save ();
 
-        /* Have to be opaque since I haven't figured out how to hide the pieces in 3D view */
-        c.set_source_rgba (0, 0, 0, 1);
+        c.set_source_rgba (0, 0, 0, 0.75);
         c.paint ();
 
         c.select_font_face ("Sans", Cairo.FontSlant.NORMAL, Cairo.FontWeight.BOLD);


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