darsain / sly

JavaScript library for one-directional scrolling with item based navigation support.
http://darsa.in/sly
2.87k stars 497 forks source link

Horizontal slidee is missing items' padding #270

Open devdc opened 8 years ago

devdc commented 8 years ago

When slidee is calculated using items size, if padding is applied to items, slidee's width is has insufficient length to contain all items.

Forked and pushed suggested code.