[longomatch] Add the new coords tags to the play
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add the new coords tags to the play
- Date: Sat, 1 Jun 2013 10:45:36 +0000 (UTC)
commit 6de94d5f1179885c8a56b8ecdc6203a8805044df
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu May 30 22:59:04 2013 +0200
Add the new coords tags to the play
LongoMatch.GUI/Gui/Dialog/TaggerDialog.cs | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Dialog/TaggerDialog.cs b/LongoMatch.GUI/Gui/Dialog/TaggerDialog.cs
index f55b552..721efd3 100644
--- a/LongoMatch.GUI/Gui/Dialog/TaggerDialog.cs
+++ b/LongoMatch.GUI/Gui/Dialog/TaggerDialog.cs
@@ -123,11 +123,12 @@ namespace LongoMatch.Gui.Dialog
coords.Add (play.FieldPosition);
} else {
Coordinates c = new Coordinates ();
- c.Add (new Point(0, 0));
+ c.Add (new Point(100, 100));
if (play.Category.FieldPositionIsDistance) {
- c.Add (new Point (0, 10));
+ c.Add (new Point (300, 300));
}
coords.Add (c);
+ play.FieldPosition = c;
}
fieldcoordinatestagger.Coordinates = coords;
fieldcoordinatestagger.Visible = true;
@@ -145,8 +146,9 @@ namespace LongoMatch.Gui.Dialog
coords.Add (play.GoalPosition);
} else {
Coordinates c = new Coordinates ();
- c.Add (new Point(0, 0));
+ c.Add (new Point(100, 100));
coords.Add (c);
+ play.GoalPosition = c;
}
goalcoordinatestagger.Coordinates = coords;
goalcoordinatestagger.Visible = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]