Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Free resizing a tile breaks the Edit Tile UI #6092

Closed
aaclayton opened this issue Nov 11, 2021 · 1 comment
Closed

Free resizing a tile breaks the Edit Tile UI #6092

aaclayton opened this issue Nov 11, 2021 · 1 comment
Assignees
Labels
bug Functionality which is not working as intended tiles Issues related to Tiles and their appearance ux Issues focused on user experience improvements

Comments

@aaclayton
Copy link
Contributor

Originally in GitLab by @Geekswordsman

Environment Details

  • Foundry VTT Version: 0.8.9
  • Operating System: Hosted on Ubuntu 20.04, Client Win10
  • How Are You Using Foundry: Firefox v94.0.1, Chrome v95.0.4638.69
  • Which Game System: Any
  • Modules Enabled?: No

Issue Description

After placing a tile, use the small dot in the corner to resize it.
Then, open the Edit Tile dialog. The width and height will have floating point values.
Attempt to manually adjust the width or the height to an integer value.
Upon clicking "Update Tile", the browser will report that the entered value is not valid, and will request a rather long floating point number +/- 1 of what you entered.

@aaclayton
Copy link
Contributor Author

Good catch, needs to be converted to use our sanitized {{numberInput}} helper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality which is not working as intended tiles Issues related to Tiles and their appearance ux Issues focused on user experience improvements
Projects
No open projects
Status: No status
Development

No branches or pull requests

2 participants