Jelajahi Sumber

Use the "Move" mouse icon in inspector arrays

FireForge 3 tahun lalu
induk
melakukan
a369bc7325
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      editor/editor_inspector.cpp

+ 1 - 0
editor/editor_inspector.cpp

@@ -1939,6 +1939,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")));
 		}