diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2007-11-18 13:40:41 +0100 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2007-11-18 13:40:41 +0100 |
commit | 7bc9f4e73f3893735b96e48bb2664f7c2b5b0a68 (patch) | |
tree | 20aa25d9cb4d7ae928a0f90440dcae581f4a1278 /qooxdoo/source/class/Smokeping | |
parent | d0b4894f58ca17de2b434d37ce4c070cf4cd7515 (diff) | |
download | smokeping-7bc9f4e73f3893735b96e48bb2664f7c2b5b0a68.tar.gz smokeping-7bc9f4e73f3893735b96e48bb2664f7c2b5b0a68.tar.xz |
added grapher to distro
Diffstat (limited to 'qooxdoo/source/class/Smokeping')
-rw-r--r-- | qooxdoo/source/class/Smokeping/ui/Navigator.js | 3 | ||||
-rw-r--r-- | qooxdoo/source/class/Smokeping/ui/Zoomer.js | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/qooxdoo/source/class/Smokeping/ui/Navigator.js b/qooxdoo/source/class/Smokeping/ui/Navigator.js index b61d91e..0e9f64f 100644 --- a/qooxdoo/source/class/Smokeping/ui/Navigator.js +++ b/qooxdoo/source/class/Smokeping/ui/Navigator.js @@ -90,6 +90,9 @@ qx.Class.define('Smokeping.ui.Navigator', qx.io.image.PreloaderManager.getInstance().remove(this._preloader); removeAll(); add(image); + var zoomer = new Smokeping.ui.Zoomer(width,height,10,10); + add(zoomer); + } } } diff --git a/qooxdoo/source/class/Smokeping/ui/Zoomer.js b/qooxdoo/source/class/Smokeping/ui/Zoomer.js index 742e43f..fd1a836 100644 --- a/qooxdoo/source/class/Smokeping/ui/Zoomer.js +++ b/qooxdoo/source/class/Smokeping/ui/Zoomer.js @@ -116,7 +116,8 @@ qx.Class.define('Smokeping.ui.Zoomer', z['left'].set({ width: this._canvas_left, height: this._image_height, - visibility: true, + visibility: true + }); z['right'].set({ left: this._image_width - this._canvas_right, |