dougrich/conscripter

Changing the advance width of a character after changing another one before it defaults to the wrong number

Opened this issue · 1 comments

Describe the bug
When changing the advance width of a character and then going to another character modification screen, be it a new character or editing an old character, it remembers the advance width and automatically puts that width in the slider. However, it does this across different character without regard for the current value of that character. This might be a feature, in which case consider this bug report as an enhancement suggestion

To Reproduce
Steps to reproduce the behavior:

  1. Make two characters
  2. Set one of them at a random advance width i.e. 0.200 em
  3. Set the other one to some other random advance width i.e. 0.400 em
  4. Clicking on the first one again puts the slider at 0.400 em, and messes up the character when pressing submit

Expected behavior
Display the current advance width of the character. In this case, when clicking back on the first one it should default to 0.200 em, so that when you dont actually touch the slider the character doesn't change either

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser chrome
  • Version 74

Definitely a bug. It should only be saving the advance width for the new characters. Will fix.