Skip to content

Conversation

@jared-hughes
Copy link

This is pretty inconsequential since - (U+002D) and (U+2212) render the same in our font. Just doing it because it's a simple-to-fix inconsistency with the updateLatexMathEfficiently function. (and someone on Discord noticed as they were messing with the font)

Steps to replicate:

  1. Write a=-3 in Desmos. It's U+2212
  2. Drag the slider to a=4
  3. Drag it down to a=-2. It's U+002D.

A quick way to check the specific hyphen at each step is running '0x'+document.querySelector("[expr-id='1'] .dcg-mq-root-block").innerText.charCodeAt(2).toString(16).

@jared-hughes jared-hughes merged commit 11c7a7f into main Dec 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants