fix documentation, remove print statement
This commit is contained in:
parent
53cbceada4
commit
987c7ea801
1 changed files with 1 additions and 2 deletions
|
@ -70,7 +70,7 @@ Ox.Element <f> Basic UI element object
|
|||
Fires on mousewheel scroll or trackpad swipe
|
||||
deltaFactor <n> Original delta = normalized delta * delta factor
|
||||
deltaX <n> Normalized horizontal scroll delta in px
|
||||
deltaY <n> Vertical scroll delta in px
|
||||
deltaY <n> 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) {
|
||||
|
|
Loading…
Reference in a new issue