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

TileSet editor's zoom values are clamped poorly #75886

Closed
MewPurPur opened this issue Apr 10, 2023 · 0 comments · Fixed by #81812
Closed

TileSet editor's zoom values are clamped poorly #75886

MewPurPur opened this issue Apr 10, 2023 · 0 comments · Fixed by #81812

Comments

@MewPurPur
Copy link
Contributor

Godot version

4.0.2

System information

All systems

Issue description

TileSet clamps the zoom level between 1% and 10000%. This isn't ideal because hitting the min/max zoom level means you're no longer on a multiple of 2. For instance, the canvas editor's max zoom level is 12800% and the minimum is 0.78125%

Meanwhile, the Tile Polygon editor doesn't clamp its values at all, allowing you to break it if you so desire.
image

Steps to reproduce

Make a tileset, add icon.png as an atlas for example. Play around with the zoom level there.
Add a physics layer from the inspector, then go back to the tileset editor, select a tile, select Physics, go to the tile polygon editor, and play around with the zoom level there.

Minimal reproduction project

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants