Skip to content

When editing the width/height and pressing backspace it deletes the currently selected rectangle #15

@adrientremblay

Description

@adrientremblay

Describe the bug

When editing the width/height and pressing backspace it deletes the currently selected rectangle

Steps to reproduce

  1. Create a rectangle in the left panel
  2. Make sure it's selected
  3. Click on either the Width or height textfields above the right panel
  4. Hit backspace on the keyboard
  5. Notice that a digit is removed from the number in the given textfield but also that the currently selected rectangle in the left panel is deleted

Expected behavior

When pressing backspace (step 5.) the currently selected rectangle should not be deleted

Screenshots

No response

System information

No response

Console logs / errors

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions