summaryrefslogtreecommitdiffstats
path: root/qooxdoo/source/class/Smokeping/ui/Mover.js
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-01-30 18:02:27 +0100
committerTobi Oetiker <tobi@oetiker.ch>2008-01-30 18:02:27 +0100
commit74783005860524bbdf1be4fe0ec2924e650c1652 (patch)
treeeb4212b67f097b420cddcbec901f577a72d933a0 /qooxdoo/source/class/Smokeping/ui/Mover.js
parent0e6c3c629a18c9989e4cd8b9d3cd2f7cf7da4aef (diff)
downloadsmokeping-74783005860524bbdf1be4fe0ec2924e650c1652.tar.gz
smokeping-74783005860524bbdf1be4fe0ec2924e650c1652.tar.xz
updated ... working
Diffstat (limited to 'qooxdoo/source/class/Smokeping/ui/Mover.js')
-rw-r--r--qooxdoo/source/class/Smokeping/ui/Mover.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/qooxdoo/source/class/Smokeping/ui/Mover.js b/qooxdoo/source/class/Smokeping/ui/Mover.js
index f212708..2d1d5f0 100644
--- a/qooxdoo/source/class/Smokeping/ui/Mover.js
+++ b/qooxdoo/source/class/Smokeping/ui/Mover.js
@@ -36,11 +36,13 @@ qx.Class.define('Smokeping.ui.Mover',
construct: function (target,src,width,height,top,right,start,end) {
this._target = target;
- this._width = width;
this._src = src;
- this._height = height; // some where the calc is 1 off. this fixes it
+ this._width = width;
+ this._height = height;
this._top = top;
this._right = right;
+ this._start = start;
+ this._end = end;
with(this){
base(arguments);
set({
@@ -81,7 +83,7 @@ qx.Class.define('Smokeping.ui.Mover',
width: this._width,
height: this._height+17,
left: this._width * i,
- source: this._src+';w='+this._width+';h='+this._height+';s='+(this._start+(duration*(i-2)))+'e='+(this._end+(duration*(i-2)))
+ source: this._src+';w='+this._width+';h='+this._height+';s='+(this._start+(duration*(i-2)))+';e='+(this._end+(duration*(i-2)))
});
this.add(tile);
}