yishn / tikzcd-editor

A simple visual editor for creating commutative diagrams.
https://tikzcd.yichuanshen.de/
MIT License
1.87k stars 100 forks source link

Multiple Selection Bug #19

Closed maxsnew closed 6 years ago

maxsnew commented 6 years ago

Selecting a square (to enter text) does not deselect the previous arrow you selected and anything you type in the square is also interpreted as an action on the arrow.

For instance, to reproduce

  1. Make an arrow.
  2. Click in the middle of a square, and a flashing cursor should appear.
  3. Enter "R". An "R" appears in the square, and the arrow reverses.
  4. Press backspace. The "R" and the arrow disappear.

I'm getting this behavior in both chromium and the latest firefox, both in "Arrow tool" mode and "Pan tool" mode.

yishn commented 6 years ago

Thank you for the report!