Skip to content

Improper resetting to previous value for % settings with buffer #11

Description

@DatBogie

When setting a % value to anything not equal to its current value, then trying to set it to an invalid value (without closing the modal), it resets back to the value stored in the buffer, not scaled up to a %.
Eg.:

  1. 'Ghost Block Opacity' is 25%
  2. Set 'Ghost Block Opacity' to 15%
  3. Set 'Ghost Block Opacity' to abc
  4. 'Ghost Block Opacity' gets set to .15

This works fine when resetting to the currently set value, however.
Eg.:

  1. 'Ghost Block Opacity' is 25%
  2. Set 'Ghost Block Opacity' to abc
  3. 'Ghost Block Opacity' gets set to 25%

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions