godot/scene/main
Meriipu 969e60f6b2
Make the currently hovered control get updated on mouse-release
Previously, when the mouse was released after dragging a scrollbar,
its highlight was not dropped (if the mouse cursor was still inside
the viewport). This seems to be because the currently hovered control
only gets updated when the mouse is moved.

This commit fixes the dropping of the cosmetic highlight by running
the check for whether the currently hovered control has changed on
mouse-clicks, in addition to to the existing mouse-movements.

(cherry picked from commit e8804b9978)
2020-11-11 15:12:01 +01:00
..
canvas_layer.cpp
canvas_layer.h
http_request.cpp
http_request.h
instance_placeholder.cpp
instance_placeholder.h
node.cpp Expose NOTIFICATION_POST_ENTER_TREE 2020-08-14 00:32:05 +02:00
node.h
resource_preloader.cpp
resource_preloader.h
scene_tree.cpp Merge pull request #42942 from Calinou/add-viewport-debanding-3.2 2020-10-30 11:47:57 +01:00
scene_tree.h
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
timer.cpp
timer.h
viewport.cpp Make the currently hovered control get updated on mouse-release 2020-11-11 15:12:01 +01:00
viewport.h Add a debanding property to Viewport for GLES3 2020-10-20 19:07:15 +02:00