if (s != null) { this.setTint(this, s.basecolor); this.setTint(this.toparrow, s.basecolor); this.setTint(this.scrolltrack, s.basecolor); this.setTint(this.bottomarrow, s.basecolor); } super._showEnabled(); var enabled = this._enabled; if ( ! enabled ) { this._obgcolor = this.bgcolor; } this.setOpacity( enabled ? 1 : 0.6 ); this.setBGColor( enabled ? this._obgcolor : parent.bgcolor ); this.thumb.setClickable( enabled ); this.thumb.setVisible(true);