Katex
Katex copied to clipboard
loadData() gets called multiple times
you can modify setDisplayText to avoid unnecessary reloads.
setDisplayText(String text, int size, int color) { this.text_size = size; this.text_color = color; this.display_text = formula_text; loadData(); }
oh! you needed a single method for setting all the changes at once? is that the case?
Yes, I feel it's quite faster.
cool.. will add