1
0
Fork 0
godot/tests/scene
Markus Sauermann 60aaa017ff 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.
2024-09-15 01:06:02 +02:00
..
test_animation.h
test_arraymesh.h
test_audio_stream_wav.h [Tests] Make `[Audio]` tag consistent with other test environment tags 2024-09-04 15:14:49 +02:00
test_bit_map.h
test_button.h
test_camera_2d.h
test_camera_3d.h
test_code_edit.h Merge pull request #89554 from smnast/backspace-unfold 2024-08-19 16:04:34 +02:00
test_color_picker.h
test_control.h
test_curve.h
test_curve_2d.h
test_curve_3d.h
test_gradient.h
test_gradient_texture.h
test_graph_node.h
test_height_map_shape_3d.h Add unit tests for HeightMapShape3D 2024-09-06 09:54:48 +02:00
test_image_texture.h
test_image_texture_3d.h
test_instance_placeholder.h
test_navigation_agent_2d.h
test_navigation_agent_3d.h
test_navigation_obstacle_2d.h
test_navigation_obstacle_3d.h
test_navigation_region_2d.h
test_navigation_region_3d.h
test_node.h
test_node_2d.h
test_option_button.h
test_packed_scene.h
test_parallax_2d.h Add unit tests for Parallax2D 2024-09-06 22:34:51 +02:00
test_path_2d.h Cleanup of raw `nullptr` checks with `Ref` 2024-08-31 15:01:09 +02:00
test_path_3d.h Cleanup of raw `nullptr` checks with `Ref` 2024-08-31 15:01:09 +02:00
test_path_follow_2d.h
test_path_follow_3d.h Do not defer PathFollow3D transform updates 2024-09-10 10:35:48 +02:00
test_primitives.h Cleanup of raw `nullptr` checks with `Ref` 2024-08-31 15:01:09 +02:00
test_sprite_frames.h
test_style_box_texture.h StyleBoxTexture unit tests 2024-08-08 11:36:34 -07:00
test_text_edit.h Fix LineEdit word mode when there are no words 2024-08-24 12:28:18 -04:00
test_theme.h
test_timer.h
test_tree.h [Tree] Fix error when removing child from `Tree` 2024-08-28 12:40:26 +02:00
test_viewport.h Enable Drag and Drop for SubViewports and Windows 2024-09-15 01:06:02 +02:00
test_visual_shader.h
test_window.h