[longomatch] Fix wrong offset usage.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix wrong offset usage.
- Date: Wed, 18 Mar 2015 14:43:28 +0000 (UTC)
commit d370fdea9939db829b2f70357d08d1ec6e616a82
Author: Julien Moutte <julien fluendo com>
Date: Sat Mar 14 13:49:37 2015 +0100
Fix wrong offset usage.
TimeNode.Start equals - Offset.
LongoMatch.Drawing/Widgets/CamerasTimeline.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Drawing/Widgets/CamerasTimeline.cs b/LongoMatch.Drawing/Widgets/CamerasTimeline.cs
index 5c10064..c389c10 100644
--- a/LongoMatch.Drawing/Widgets/CamerasTimeline.cs
+++ b/LongoMatch.Drawing/Widgets/CamerasTimeline.cs
@@ -149,7 +149,7 @@ namespace LongoMatch.Drawing.Widgets
if (CameraDragged != null) {
CameraObject co = sel.Drawable as CameraObject;
// Adjust offset
- co.MediaFile.Offset = co.TimeNode.Start;
+ co.MediaFile.Offset = new Time (-co.TimeNode.Start.MSeconds);
// And notify
CameraDragged (co.MediaFile, co.TimeNode);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]