зеркало из https://github.com/mozilla/pjs.git
Bug 605121 - Panning does not look at the originalTarget [r=mfinkle]
This commit is contained in:
Родитель
c49a92cb4b
Коммит
36dfe8a214
|
@ -195,7 +195,7 @@ MouseModule.prototype = {
|
|||
// walk up the DOM tree in search of nearest scrollable ancestor. nulls are
|
||||
// returned if none found.
|
||||
let [targetScrollbox, targetScrollInterface, dragger]
|
||||
= ScrollUtils.getScrollboxFromElement(aEvent.target);
|
||||
= ScrollUtils.getScrollboxFromElement(aEvent.originalTarget);
|
||||
|
||||
// stop kinetic panning if targetScrollbox has changed
|
||||
if (this._kinetic.isActive() && this._dragger != dragger)
|
||||
|
|
Загрузка…
Ссылка в новой задаче