summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/language_server
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2023-01-20 00:21:11 +0100
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2024-09-15 01:06:02 +0200
commit60aaa017ff3dc026d89cc8a0eb7817f2b7eac727 (patch)
tree2c595af228282e28e5c0c64be0c951486c7236ba /modules/gdscript/language_server
parent6681f2563b99e14929a8acb27f4908fece398ef1 (diff)
downloadredot-engine-60aaa017ff3dc026d89cc8a0eb7817f2b7eac727.tar.gz
Enable Drag and Drop for SubViewports and Windows
Make Drag and Drop an application-wide operation. This allows do drop on Controls in other Viewports/Windows. In order to achieve this, `Viewport::_update_mouse_over` is adjusted to remember the Control, that the mouse is over (possibly within nested viewports). This Control is used as a basis for the Drop-operation, which replaces the previous algorithm, which was only aware of the topmost Viewport. Also now all nodes in the SceneTree are notified about the Drag and Drop operation, with the exception of SubViewports that are not children of SubViewportContainers.
Diffstat (limited to 'modules/gdscript/language_server')
0 files changed, 0 insertions, 0 deletions