godot/scene
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
..
2d fix(sprite2d): Rect is not handling pixel snap 2020-10-28 15:09:16 +01:00
3d Merge pull request #42902 from akien-mga/3.2-cherrypicks 2020-10-19 22:14:05 +02:00
animation Added a more helpful error message when there is no current animation for the animation player 2020-10-19 16:09:58 +02:00
audio SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
debugger Fix debugger not getting focused on break on Windows 2020-07-21 01:09:17 +02:00
gui Add border_width to ReferenceRect 2020-10-28 14:05:40 +01:00
main Make the currently hovered control get updated on mouse-release 2020-11-11 15:12:01 +01:00
resources Fix artifacts in DynamicFont when scaling with filtering enabled 2020-10-29 00:33:11 +01:00
register_scene_types.cpp [3.2] Added UniformRef visual shader node 2020-08-11 15:04:06 +03:00
register_scene_types.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scene_string_names.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scene_string_names.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00