From 987c7ea80173b86cfde96732e4e69b37b47c4446 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 5 Dec 2013 00:14:10 +0100 Subject: [PATCH] fix documentation, remove print statement --- source/Ox.UI/js/Core/Element.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Core/Element.js b/source/Ox.UI/js/Core/Element.js index 6f2bfa2d..0a6008f3 100644 --- a/source/Ox.UI/js/Core/Element.js +++ b/source/Ox.UI/js/Core/Element.js @@ -70,7 +70,7 @@ Ox.Element Basic UI element object Fires on mousewheel scroll or trackpad swipe deltaFactor Original delta = normalized delta * delta factor deltaX Normalized horizontal scroll delta in px - deltaY Vertical scroll delta in px + deltaY Normalized vertical scroll delta in px * <*> Original event properties singleclick singleclick Fires 250 ms after mouseup, if there was no subsequent mousedown @@ -245,7 +245,6 @@ Ox.Element = function(options, self) { deltaX = -deltaY; deltaY = 0; } - Ox.print('MOUSEWHEEL', e, deltaX, deltaY) if (deltaX || deltaY) { absDelta = Math.max(Math.abs(deltaY), Math.abs(deltaX)); if (!self._deltaFactor || self._deltaFactor > absDelta) {