[longomatch] Only disable moving points for stats
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Only disable moving points for stats
- Date: Sat, 22 Nov 2014 10:53:55 +0000 (UTC)
commit 9d60212f1c1b82e7c2735ee8b1e586188e5d3367
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Nov 16 23:53:56 2014 +0100
Only disable moving points for stats
.../Gui/Component/PlaysCoordinatesTagger.cs | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/PlaysCoordinatesTagger.cs
b/LongoMatch.GUI/Gui/Component/PlaysCoordinatesTagger.cs
index 7e4a367..9404919 100644
--- a/LongoMatch.GUI/Gui/Component/PlaysCoordinatesTagger.cs
+++ b/LongoMatch.GUI/Gui/Component/PlaysCoordinatesTagger.cs
@@ -40,9 +40,6 @@ namespace LongoMatch.Gui.Component
field.Tagger.Accuracy = 20;
hfield.Tagger.Accuracy = 20;
goal.Tagger.Accuracy = 20;
- field.Tagger.ObjectsCanMove = false;
- hfield.Tagger.ObjectsCanMove = false;
- goal.Tagger.ObjectsCanMove = false;
}
public void LoadBackgrounds (Project project) {
@@ -58,6 +55,9 @@ namespace LongoMatch.Gui.Component
UpdateTags (stats.GetFieldCoordinates (team, FieldPositionType.Field), field);
UpdateTags (stats.GetFieldCoordinates (team, FieldPositionType.HalfField), hfield);
UpdateTags (stats.GetFieldCoordinates (team, FieldPositionType.Goal), goal);
+ field.Tagger.ObjectsCanMove = false;
+ hfield.Tagger.ObjectsCanMove = false;
+ goal.Tagger.ObjectsCanMove = false;
}
public void LoadStats (PlayerEventTypeStats stats, Team team)
@@ -67,6 +67,9 @@ namespace LongoMatch.Gui.Component
UpdateTags (stats.GetFieldCoordinates (FieldPositionType.Field), field);
UpdateTags (stats.GetFieldCoordinates (FieldPositionType.HalfField), hfield);
UpdateTags (stats.GetFieldCoordinates (FieldPositionType.Goal), goal);
+ field.Tagger.ObjectsCanMove = false;
+ hfield.Tagger.ObjectsCanMove = false;
+ goal.Tagger.ObjectsCanMove = false;
}
public void LoadPlay (TimelineEvent play) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]