summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-05-26 00:54:35 +0200
committerGitHub <noreply@github.com>2022-05-26 00:54:35 +0200
commit0736eed7471a84afa0699d3ec0e6ee9899c7ae26 (patch)
tree51311ae7a262e144ad11b3f75ffbeb74dfea1618
parentf2a7bb6b5188584b1206c03700c323994d489b39 (diff)
parenta369bc7325073913df826817e6fb20b1c6188572 (diff)
Merge pull request #60987 from fire-forge/vertical-move
Use the move mouse cursor shape for the inspector array reorder button
-rw-r--r--editor/editor_inspector.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp
index 9a400eb2bc..1b4bec5eab 100644
--- a/editor/editor_inspector.cpp
+++ b/editor/editor_inspector.cpp
@@ -1938,6 +1938,7 @@ void EditorInspectorArray::_setup() {
// Move button.
ae.move_texture_rect = memnew(TextureRect);
ae.move_texture_rect->set_stretch_mode(TextureRect::STRETCH_KEEP_CENTERED);
+ ae.move_texture_rect->set_default_cursor_shape(Control::CURSOR_MOVE);
if (is_inside_tree()) {
ae.move_texture_rect->set_texture(get_theme_icon(SNAME("TripleBar"), SNAME("EditorIcons")));
}