godot/scene
Meriipu 6f77f1bb3e If the mouse is held on notification_wm_mouse_exit, do not drop focus
This fixes a bug where users of the scrollbar had to be very careful
not to move the mouse outside the viewport, otherwise the scrollbar
would drop its drag-action and stop scrolling until clicked again.

The existing behaviour had the side-effect of also dropping the
cosmetic highlighting of the scrollbar (in addition to the dragging),
for the specific case where the mouse was move outside the window.
The previous behaviour did nothing to remove the highlight if the
mouse was released (but not moved) inside the viewport.

This separate issue with the lingering highlight of the scrollbar
(until a mouse-movement action is performed inside the viewport) is
fixed in an immediate followup to this commit.

Closes bug #39634

(cherry picked from commit 44657db3e2)
2021-02-26 15:22:08 +01:00
..
2d Line2D::set_point_position Fail if passed index is out of bounds 2021-02-22 10:16:22 +01:00
3d Allow CollisionObject to show collision shape meshes 2021-02-24 21:33:40 +01:00
animation Tween: Add null check for target object 2021-02-25 15:14:31 +01:00
audio Don't fade out after pausing unless stream is running 2021-02-19 15:55:41 +01:00
debugger Modernize Mutex 2021-02-18 11:58:08 +01:00
gui Revert "Warn when setting Control size inside ready()" 2021-02-25 15:14:32 +01:00
main If the mouse is held on notification_wm_mouse_exit, do not drop focus 2021-02-26 15:22:08 +01:00
resources Fix crash when loading a scene containing an uncreatable type 2021-02-26 11:30:38 +01:00
register_scene_types.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_scene_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00