Use the "Move" mouse icon in inspector arrays

This commit is contained in:
FireForge 2022-05-12 16:20:12 -05:00
parent 01d383a8ff
commit a369bc7325

View file

@ -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")));
}