unify / unify

Unify Project
http://www.unifyjs.com
Other
152 stars 16 forks source link

proposed fix for issue #110: removed _applyOrientation from unify.ui.container.scroll.Indicator #111

Closed dominikg closed 12 years ago

dominikg commented 12 years ago

and refactored __setIndicatorStyle into _createElement

This way, the orientation of a scroll indicator is fixed on construction time. This is ok for our current Scroll implementation and should be sufficient for future enhancements aswell. Changing the orientation of a scrollindicator after creating it is not a valid usecase in my opinion.

Issue #110 is fixed by this, because references to the elements are locally available in _createElement