Grasia/WikiChron

Sliding the slider repeats all calculations

Akronix opened this issue · 1 comments

Sliding the time slider triggers the callback update_graphs which repeats all the calculations.
Skip those calculations in case only the slider has changed.

This is not accurate since the calculations are cached. However the code might be slightly improved if some steps would be skipped when only the slider changed.