diff options
Diffstat (limited to 'devtools/client/memory/components/tree-map/drag-zoom.js')
-rw-r--r-- | devtools/client/memory/components/tree-map/drag-zoom.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/devtools/client/memory/components/tree-map/drag-zoom.js b/devtools/client/memory/components/tree-map/drag-zoom.js index 034017e086..f0f94a926a 100644 --- a/devtools/client/memory/components/tree-map/drag-zoom.js +++ b/devtools/client/memory/components/tree-map/drag-zoom.js @@ -295,10 +295,9 @@ function setScrollHandlers(container, dragZoom, emitChanged, update) { * Account for the various mouse wheel event types, per pixel or per line * * @param {WheelEvent} event - * @param {Window} window * @return {Number} The scroll size in pixels */ -function getScrollDelta(event, window) { +function getScrollDelta(event) { if (event.deltaMode === LINE_SCROLL_MODE) { // Update by a fixed arbitrary value to normalize scroll types return event.deltaY * SCROLL_LINE_SIZE; |