malsup / cycle2

2nd gen cycling
899 stars 236 forks source link

throttle recalc of sentinel on slide add/remove #668

Open albell opened 9 years ago

albell commented 9 years ago

I had trouble with autoheight not working correctly when large batches of slides are added. It was tough to reproduce consistently, but I think I've tracked it down to this. If twenty slides are added all at once, initAutoHeight() should be throttled to only run once.