mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 637936 (followup) - Fix variable name collision [r=mfinkle]
This commit is contained in:
parent
f20818bbab
commit
a0481fa6fc
@ -1191,10 +1191,10 @@ Browser.MainDragger.prototype = {
|
||||
|
||||
// Any leftover panning in doffset would bring controls into view. Add to sidebar
|
||||
// away panning for the total scroll offset.
|
||||
let dx = Math.round(doffset.x);
|
||||
if ((this._stopAtSidebar > 0 && dx > 0) ||
|
||||
(this._stopAtSidebar < 0 && dx < 0)) {
|
||||
if (dx != Math.round(panOffset.x))
|
||||
let offsetX = Math.round(doffset.x);
|
||||
if ((this._stopAtSidebar > 0 && offsetX > 0) ||
|
||||
(this._stopAtSidebar < 0 && offsetX < 0)) {
|
||||
if (offsetX != Math.round(panOffset.x))
|
||||
this._hitSidebar = true;
|
||||
doffset.x = panOffset.x;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user