Facepunch / sbox-issues

176 stars 12 forks source link

Scene view movement speed indicator renders in wrong window after opening a prefab #6532

Open Gmod4phun opened 2 hours ago

Gmod4phun commented 2 hours ago

Describe the bug

Hopefully the title makes sense. Basically when moving the view in the scene and adjusting the speed using the mouse wheel, there is an indicator that shows how fast you are moving (Carson added this a while ago iirc).

The issue is, if you open a prefab, the indicator will appear in that window instead of the main scene even if you switch windows/close the prefab.

Only way to bring it back I found was to restart the editor.

To Reproduce

  1. Open scene
  2. Move around, adjust speed and watch the indicator
  3. Open prefab
  4. Go back to the scene
  5. Move around, adjust speed and notice the indicator does not appear

Expected behavior

The indicator should always appear in the active window.

Media/Files

https://github.com/user-attachments/assets/d42e868e-3281-40ce-839e-f3ab687bf448

Additional context

No response

DevulTj commented 2 hours ago

I've noticed the position of this is wonky most of the time.