Make sure that we do not render the cursor in StaticMath mathquills. Previously, things were inconsistent:
After mq = MQ.StaticMath(el), there was a cursor, but then after mq.latex(...), it was removed. (There was logic to remove it in latex() when !controller.blurred, but not in the constructor.)
If mouseEvents: false was set, then in both of the above cases we'd show a cursor, because in that case, the controller's blurred state was never initialized to false.
Also fixes the bug that when mouseEvents: false, MQ would not render the mathspeak element
Make sure that we do not render the cursor in StaticMath mathquills. Previously, things were inconsistent:
mq = MQ.StaticMath(el)
, there was a cursor, but then aftermq.latex(...)
, it was removed. (There was logic to remove it inlatex()
when!controller.blurred
, but not in the constructor.)mouseEvents: false
was set, then in both of the above cases we'd show a cursor, because in that case, the controller'sblurred
state was never initialized tofalse
.Also fixes the bug that when
mouseEvents: false
, MQ would not render the mathspeak element