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

Atlas preview jumps after first scroll event #78091

Closed
KoBeWi opened this issue Jun 10, 2023 · 1 comment · Fixed by #78009
Closed

Atlas preview jumps after first scroll event #78091

KoBeWi opened this issue Jun 10, 2023 · 1 comment · Fixed by #78009

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Jun 10, 2023

Godot version

4.1 beta1

System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

Issue description

When I change tile source, the view is initialized at a wrong position. After scrolling it for the first time, the position gets re-adjusted.

godot_HueRnMFq25.mp4

It wasn't happening before.

Steps to reproduce

  1. Create a TileMap with TileSet
  2. Add a sufficiently big tile atlas source
  3. Add another source, so that you can switch between the 2
  4. Switch to the other source and then to the big one
  5. Scroll

Minimal reproduction project

The texture from the video: https://github.com/godotengine/godot/assets/2223172/7ac78271-84d0-48ab-ae28-45841e2e0880

@arkology
Copy link
Contributor

arkology commented Jun 10, 2023

Also happens with Region Editor after scroll or zoom

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.

2 participants