Closed thewayiam closed 8 years ago
Can you show me the candlestick code that you use. I will test this.
I use candlestick.js in /lib/js/ https://github.com/EdouardTack/candlestick/tree/master/lib/js I'm overwrite the toggle width to made this problem happen, you can reproduce it by change the width to 10px at this line.
While adjust the width of toggle, e.g. smaller toggle, then it will make the toggle left a little room when move it to "on" as below:
I think this might couse from this line, if we could change the candlestick-on to candlestick-toggle as
var left = this.parent.outerWidth() - this.parent.find('.candlestick-toggle').outerWidth();
, it will allow us to modify the toggle size, what do you think? If that's acceptable to you, I would like to send a PR!