frostyfan109 / tranql

A Translator Query Language
https://researchsoftwareinstitute.github.io/data-translator/apps/tranql
MIT License
0 stars 1 forks source link

Error in Highlight Mode #106

Closed stevencox closed 5 years ago

stevencox commented 5 years ago

I opened the app, loaded one of the simple RTX graphs in 2D mode.

Selected the highlight tool and selected a node in the graph.

That produced this error:

image

frostyfan109 commented 5 years ago

That is really peculiar, and I can't recreate it.

It shouldn't be possible because it requires an element to be getting unhighlighted when it was never highlighted in the first place.

frostyfan109 commented 5 years ago

I got it to happen, but the way you get in the situation where the bug occurs remains a mystery. Somehow App::state::vMode can become undefined, which results in this error.

Edit: It's because the state variable is visMode, not vMode...