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

Lock button sometimes does not update #89016

Closed
KoBeWi opened this issue Feb 29, 2024 · 1 comment · Fixed by #89132
Closed

Lock button sometimes does not update #89016

KoBeWi opened this issue Feb 29, 2024 · 1 comment · Fixed by #89132

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Feb 29, 2024

Tested versions

4.3 7d2ca2d

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

Apparently Lock button is disabled/enabled in _draw_viewport() method, which means that it won't update when selecting nodes does not redraw editor:

godot.windows.editor.dev.x86_64_UpKqJcAwYO.mp4

See how the padlock in the top-right is always disabled until I move cursor over the viewport.

Steps to reproduce

  1. Add Sprite2D
  2. Unselect everything
  3. Select the Sprite2D
  4. Look at Lock button
  5. It should be enabled

Minimal reproduction project (MRP)

N/A

@jsjtxietian
Copy link
Contributor

When working on #88997 I thought It was my bug that caused this behaviour lol.

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