]> git.parisson.com Git - telemeta.git/commitdiff
Restored time pointer text
authorriccardo <riccardo@parisson.com>
Mon, 28 Feb 2011 17:32:32 +0000 (18:32 +0100)
committerriccardo <riccardo@parisson.com>
Mon, 28 Feb 2011 17:32:32 +0000 (18:32 +0100)
telemeta/htdocs/timeside/src/ruler.js

index 796d7d3da22fc869179577018b12435c39fef21e..59e5bbb14dcc1e212d1f57314f5e9e6af2337e68 100644 (file)
@@ -254,8 +254,8 @@ TimeSide(function($N, $J) {
 //            }
 
             this.pointer
-            .setText("+")
-            //.setText($N.Util.makeTimeLabel(0))
+            //.setText("+")
+            .setText($N.Util.makeTimeLabel(0))
             .observe('move', this.attach(this._onPointerMove));
         },
 
@@ -268,7 +268,7 @@ TimeSide(function($N, $J) {
             pixelOffset = offset / this.duration * this.width;
             if (this.pointer) {
                 this.pointer.move(pixelOffset);
-                //this.pointer.setText($N.Util.makeTimeLabel(offset));
+                this.pointer.setText($N.Util.makeTimeLabel(offset));
             }
             this.pointerPos = offset;
         },