[gnome-chess/gnome-3-10] Fix upside-down Paused text with Black on bottom



commit 13b6952778540fc87eff81b1d2815ec5a3654e33
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Nov 2 12:38:00 2013 -0500

    Fix upside-down Paused text with Black on bottom
    
    Impressively, this was broken in both 2D view and 3D view, each for the
    opposite reason....

 src/chess-view-2d.vala |    1 +
 src/chess-view-3d.vala |    1 -
 2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/chess-view-2d.vala b/src/chess-view-2d.vala
index bac0bf2..3d2eddc 100644
--- a/src/chess-view-2d.vala
+++ b/src/chess-view-2d.vala
@@ -202,6 +202,7 @@ private class ChessView2D : ChessView
         /* Draw pause overlay */
         if (scene.game.is_superpaused)
         {
+            c.rotate (Math.PI * scene.board_angle / 180.0);
             draw_paused_overlay (c);
             return true;
         }
diff --git a/src/chess-view-3d.vala b/src/chess-view-3d.vala
index a857c1e..bcf8212 100644
--- a/src/chess-view-3d.vala
+++ b/src/chess-view-3d.vala
@@ -243,7 +243,6 @@ private class ChessView3D : ChessView
         {
             glXMakeCurrent (display, X.None, (GLX.Context) null);
             c.translate (get_allocated_width () / 2, get_allocated_height () / 2);
-            c.rotate (Math.PI * scene.board_angle / 180.0);
             draw_paused_overlay (c);
             return true;
         }


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