scrollbars should start as hidden
This commit is contained in:
parent
abf5f7492f
commit
26329c2d76
1 changed files with 3 additions and 3 deletions
|
|
@ -67,8 +67,8 @@ var ScrollBarV = function(parent, renderer) {
|
|||
this.width = dom.scrollbarWidth(parent.ownerDocument);
|
||||
this.fullWidth = this.width;
|
||||
this.element.style.width = (this.width || 15) + 5 + "px";
|
||||
this.setVisible(false);
|
||||
}.bind(this));
|
||||
this.setVisible(false);
|
||||
this.element.style.overflowY = "scroll";
|
||||
|
||||
event.addListener(this.element, "scroll", this.onScrollV.bind(this));
|
||||
|
|
@ -93,8 +93,8 @@ var ScrollBarH = function(parent, renderer) {
|
|||
this.height = renderer.$scrollbarWidth;
|
||||
this.fullHeight = this.height;
|
||||
this.element.style.height = (this.height || 15) + 5 + "px";
|
||||
}.bind(this));
|
||||
this.setVisible(false);
|
||||
this.setVisible(false);
|
||||
}.bind(this));
|
||||
this.element.style.overflowX = "scroll";
|
||||
|
||||
event.addListener(this.element, "scroll", this.onScrollH.bind(this));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue