Shelagh-Lewins / twisted-threads

Twisted Threads - a Meteor app for tablet weaving
MIT License
1 stars 1 forks source link

Changing number of turns can lose all data #28

Open CableGuy67 opened 5 years ago

CableGuy67 commented 5 years ago

When changing the number of turns in the input box instead of using the arrow buttons it is really easy to delete all your turns. I wanted to change from 32 to 24 and when I typed it in I suddenly ended up with 2 (in the auto type turns) because the UI updated before I was ready.

Try this, make a new pattern that will have the default of 8 turns. Try to type "12" into the input box. You will end up with "1" effectively losing all the turns you had. Not so bad with only 8 but if you are changing from 48 to 42 and wipe out all but 4 it is problematic. The input shouldn't fire the change until either the element loses focus or the user hits return. It should probably even respect hitting "esc" to cancel.