oncojs / lolliplot

Chart to aid in understanding mutations and their location on a gene.
Apache License 2.0
22 stars 5 forks source link

Do not call updateStats if hideStats is true #29

Closed cheapsteak closed 7 years ago

cheapsteak commented 7 years ago

Making a separate ticket in case it gets buried in the performance thread :) image

Even with animations turned off, dragging the selection thing around is quite choppy mostly due to calls in updateStats

Would be great if we could bypass that if stats are hidden

alex-wilmer commented 7 years ago

https://github.com/oncojs/lolliplot/commit/8407fcc4fdca93f20fe63e87add23bea6ac9d06e