[longomatch] Update the ratio correctly
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Update the ratio correctly
- Date: Mon, 7 Jul 2014 11:22:30 +0000 (UTC)
commit cf81584b1849f397522d842adf038f5b3f423ddf
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed May 21 18:17:08 2014 +0200
Update the ratio correctly
.../CanvasObject/CategoryTimeline.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.Drawing/CanvasObject/CategoryTimeline.cs
b/LongoMatch.Drawing/CanvasObject/CategoryTimeline.cs
index a1a0a51..f2ef55d 100644
--- a/LongoMatch.Drawing/CanvasObject/CategoryTimeline.cs
+++ b/LongoMatch.Drawing/CanvasObject/CategoryTimeline.cs
@@ -36,20 +36,20 @@ namespace LongoMatch.Drawing.CanvasObject
this.background = background;
this.plays = new List<PlayObject> ();
Visible = true;
- SecondsPerPixel = 0.1;
CurrentTime = new Time (0);
OffsetY = offsetY;
foreach (Play p in plays) {
AddPlay (p);
}
+ SecondsPerPixel = 0.1;
}
public double SecondsPerPixel {
set {
+ secondsPerPixel = value;
foreach (PlayObject po in plays) {
po.SecondsPerPixel = secondsPerPixel;
}
- secondsPerPixel = value;
}
protected get {
return secondsPerPixel;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]