jStarbox
jStarbox copied to clipboard
Changed colorbar and ghost to be a percentage
I was having an issue using your plugin and backbone. The problem was that the way views are rendered and appended to the page, there would be no initial size for data.positioner. Changing the math to work of width percentages was all that was needed.
I think I had it as a percentage once but some browser’s behaviour or certain circumstances had me change it to measure the width and calculate the percentage from it. But that was too long ago for me to remember exactly what the issue was.
If you make it configurable in a backwards-compatible way, I’ll merge this.
@jsmits21 What’s the status on this?