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

Alternative Tile 'Plus' Icon incorrectly sized for small tile sizes #80234

Closed
heygleeson opened this issue Aug 4, 2023 · 1 comment · Fixed by #80968
Closed

Alternative Tile 'Plus' Icon incorrectly sized for small tile sizes #80234

heygleeson opened this issue Aug 4, 2023 · 1 comment · Fixed by #80968

Comments

@heygleeson
Copy link

Godot version

v4.1.stable.mono.official [9704596]

System information

Godot v4.1.stable.mono - Windows 10.0.22621 - Vulkan (Forward+) - dedicated GeForce GTX 1660 () - AMD Ryzen 7 2700 Eight-Core Processor (16 Threads)

Issue description

In the TileSet module, the 'plus' icon to add an alternative tiles resizes when interacting anywhere in the Tileset module and obscures other alternative tiles, making them hard/impossible to select for tile sizes smaller than the default 16x16 (in my case, 8x8).

I have tried adjusting TileMap values in the inspector (and elsewhere) to see if this changes the behaviour, but it seems like the icon reverts to a 16x16 size if the TileSet Atlas' texture region is smaller than that, as sizes of 15x15, 14x14... demonstrate the overlapping issue. Larger tile sizes (e.g. 20x20, 32x32, etc.) are handled fine and the icon resizes accordingly.

It is possible to get around this by reopening the TileSet module (e.g. switching to TileMap and back) where the icon resizes correctly (even for smaller sizes), but breaks again when interacting with the module.

alternative.tile.bug.mp4

Steps to reproduce

  1. Navigate away from the TileSet module (so that it loses focus).
  2. Navigate to the TileSet module.
  3. Interact with any element that forces the module to redraw (select a tile/tab, or change a property on a tile)
  4. (Optional) Adjust the Tile Atlas Texture Region Size to a size smaller than 16x16 and repeat Steps 1-3.

Minimal reproduction project

AlternativeTileBugProject.zip

@bejd
Copy link

bejd commented Aug 4, 2023

Can confirm this is happening on v4.1.1.stable.official [bd6af8e] on MacOS Ventura (13.4.1)

This issue was closed.
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.

7 participants