[gnome-chess] 3D view: show board numbering only when enabled
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] 3D view: show board numbering only when enabled
- Date: Fri, 10 May 2013 21:38:20 +0000 (UTC)
commit f4a9927e5355c947db21ca150f986805751025da
Author: Michael Catanzaro <mike catanzaro gmail com>
Date: Fri May 10 16:32:01 2013 -0500
3D view: show board numbering only when enabled
https://bugzilla.gnome.org/show_bug.cgi?id=647191
src/chess-view-3d.vala | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/chess-view-3d.vala b/src/chess-view-3d.vala
index 14bf9c1..68ecf11 100644
--- a/src/chess-view-3d.vala
+++ b/src/chess-view-3d.vala
@@ -269,7 +269,10 @@ private class ChessView3D : ChessView
glTranslatef (-OFFSET, 0.0f, OFFSET);
draw_board ();
- draw_numbering ();
+ if (scene.show_numbering)
+ {
+ draw_numbering ();
+ }
draw_pieces ();
glPopMatrix ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]