Преглед изворни кода

Merge pull request #60987 from fire-forge/vertical-move

Use the move mouse cursor shape for the inspector array reorder button
Rémi Verschelde пре 3 година
родитељ
комит
0736eed747
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      editor/editor_inspector.cpp

+ 1 - 0
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")));
 		}