Skip to content

Commit

Permalink
Don't set too much negative mergines
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Feb 10, 2017
1 parent 63f3d54 commit 7a492bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/autoHide.js
Original file line number Diff line number Diff line change
Expand Up @@ -1196,9 +1196,9 @@ AutoHideBrowser.prototype = inherit(AutoHideBase.prototype, {
style.marginLeft = style.marginRight = style.marginTop = style.marginBottom = 0;
switch (this.treeStyleTab.position)
{
case 'left': style.marginRight = '-'+value+'px';
case 'right': style.marginLeft = '-'+value+'px';
default: style.marginTop = '-'+value+'px';
case 'left': style.marginRight = '-'+value+'px'; break;
case 'right': style.marginLeft = '-'+value+'px'; break;
default: style.marginTop = '-'+value+'px'; break;
}
if (this.togglerSize <= 0)
toggler.setAttribute('collapsed', true);
Expand Down

0 comments on commit 7a492bc

Please sign in to comment.