Skip to content

Commit ce1065c

Browse files
committed
Switch direction of zoom so that scrolling up zooms in.
1 parent ff6406f commit ce1065c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui-scripts/zoomer/zoomer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ var ZoomerPrototype = function()
195195

196196
this._overlay_ele_onmousewheel = function(event)
197197
{
198-
var diff = (event.wheelDelta > 0) ? MOUSEWHEEL_DIFF : -MOUSEWHEEL_DIFF;
198+
var diff = (event.wheelDelta > 0) ? -MOUSEWHEEL_DIFF : MOUSEWHEEL_DIFF;
199199
this.change_overlay_size(-diff, diff);
200200
event.stopPropagation();
201201
};

0 commit comments

Comments
 (0)