From 8a9c219b9d6c1973cd0237524a9526f2257b1a6a Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Tue, 18 Sep 2012 20:56:51 -0300 Subject: [PATCH] Minor fix. --- mindplot/src/main/javascript/Designer.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mindplot/src/main/javascript/Designer.js b/mindplot/src/main/javascript/Designer.js index 5d71b31f..c8c54296 100644 --- a/mindplot/src/main/javascript/Designer.js +++ b/mindplot/src/main/javascript/Designer.js @@ -83,6 +83,9 @@ mindplot.Designer = new Class({ }, _registerWheelEvents:function () { + var workspace = this._workspace; + var screenManager = workspace.getScreenManager(); + // Zoom In and Zoom Out must active event $(document).addEvent('mousewheel', function (event) { // Change mousewheel handling so we let the default