1
0
Fork 0
godot/scene/debugger
Markus Sauermann 4887172a59 Fix `ViewPanner` panning mouse warp
Currently the mouse cursor jumps in unexpected ways, when a `ViewPanner`
is used in SubViewports or embedded Windows.

This is caused by providing wrong coordinate systems to
Input::warp_mouse_motion.

This PR replaces the use of `Input::warp_mouse_motion` with
`Viewport::wrap_mouse_in_rect` and makes sure, that the correct
coordinate systems are used.

This change makes it necessary, that all classes, that currently
use ViewPanner, need to provide the correct Viewport to ViewPanner.
2024-12-20 00:28:49 +01:00
..
SCsub SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
scene_debugger.cpp Fix `ViewPanner` panning mouse warp 2024-12-20 00:28:49 +01:00
scene_debugger.h Fix for `RuntimeNodeSelect` `selection_list` showing up as an orphaned node when editor is open during runtime 2024-12-04 11:22:12 -05:00