ESP
ESP copied to clipboard
Cursor advances out of sight when renaming a training class with a long name.
If a rename is in progress, it's easy to not realize it's happening and not understand why key presses are having their intended (other) effect. For instance, I think we don't end renaming if you switch tabs, or if you open the configuration menu. Also, I think the class name may not (always) flash while in a rename.
I think there are at least two things going on here:
- The cursor disappears when the new name is wider than the sample plot, leaving no visual indication that a rename is pending. Probably the right thing to do here is scroll the name left, so that the end of the name, and the cursor, is always visible. Once the rename is over, we should probably show the left-most portion of the name.
- The rename should end if someone performs another command (e.g. clicking on a GUI button or switching tabs). A simple way to do this might be to just end the rename on any mouse click.
We may want to use an ofxDatGui text input field rather than trying to implement one ourselves.
I removed this from the post-workshop cleanup milestone because it doesn't seem as important now that ESC and mouse clicks will end the renaming.