Subj : frame.js scrollbars
To : Nightfox
From : echicken
Date : Thu Nov 26 2015 12:41 am
> Would that break existing scripts that are currently managing them
> separately?
What I think I'll do is leave scrollbar.js where it is, and then have frame.js
load it. That way any script currently loading scrollbar.js will still have it
available. Frame will then create ScrollBar instances if scrollbars are
toggled on, and maintain them for you.
Even if some script is already using scrollbar.js and setting 'scrollbars' to
'true' on a Frame, it probably won't break anything. You'd just end up with
two scrollbars, one layered over the other, doing the same thing, with only the
topmost one visible.