Bug 689494 - Don't resize the UI when dragging the tablet sidebar rightward [r=mbrubeck]

This commit is contained in:
Vivien Nicolas 2011-09-28 17:29:29 -07:00
parent 3d16624646
commit 7b37824ea6

View File

@ -206,7 +206,9 @@
},
dragMove: function dragMove(dx, dy) {
if (!this._grabSidebar) {
let ltr = (Util.localeDir == Util.LOCALE_DIR_LTR);
let hiddingPan = ltr ? (dx > 0) : (dx < 0);
if (!this._grabSidebar && hiddingPan) {
this._grabSidebar = dx && Util.isTablet() && !Util.isPortrait();
if (this._grabSidebar)
Browser.grabSidebar();