[longomatch] Fix time units in the time ruler



commit cdcdc11880f179a638d5268477a18d151ae09ff9
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sat Nov 5 17:35:11 2011 +0100

    Fix time units in the time ruler

 .../Gui/Component/TimeReferenceWidget.cs           |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/TimeReferenceWidget.cs b/LongoMatch.GUI/Gui/Component/TimeReferenceWidget.cs
index 5593c62..0b479bb 100644
--- a/LongoMatch.GUI/Gui/Component/TimeReferenceWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/TimeReferenceWidget.cs
@@ -118,7 +118,7 @@ namespace LongoMatch.Gui.Component
 					CairoUtils.DrawLine(g, i-Scroll, height,i-Scroll,
 					                    height-10, 2, color);
 					g.MoveTo(new PointD(i-Scroll-13,height-20));
-					time.MSeconds = (int)(i/FrameRate*pixelRatio);
+					time.Seconds = (int)(i/FrameRate*pixelRatio);
 					g.ShowText(time.ToSecondsString());
 					i=i+10*FrameRate;
 				}
@@ -143,7 +143,7 @@ namespace LongoMatch.Gui.Component
 			for(int i=10*FrameRate; i<=frames/pixelRatio;) {
 				// Drawing separator line
 				evnt.Window.DrawLine(Style.DarkGC(StateType.Normal),i-(int)Scroll,height,i-(int)Scroll,height-10);
-				time.MSeconds = (int)(i/FrameRate*pixelRatio);
+				time.Seconds = (int)(i/FrameRate*pixelRatio);
 				layout.SetMarkup(time.ToSecondsString());
 				this.GdkWindow.DrawLayout(this.Style.TextGC(StateType.Normal),i-(int)Scroll-13,height-23,layout);
 				//g.ShowText(time.ToSecondsString());



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