1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Fix arrow pointing in the wrong direction in the Dock Position popup

This commit is contained in:
Michael Alexsander
2021-09-23 21:32:48 -03:00
parent 01f692c173
commit f289b13b6b

View File

@@ -6105,9 +6105,9 @@ EditorNode::EditorNode() {
dock_tab_move_right = memnew(Button);
dock_tab_move_right->set_flat(true);
if (gui_base->is_layout_rtl()) {
dock_tab_move_right->set_icon(theme->get_icon("Forward", "EditorIcons"));
} else {
dock_tab_move_right->set_icon(theme->get_icon("Back", "EditorIcons"));
} else {
dock_tab_move_right->set_icon(theme->get_icon("Forward", "EditorIcons"));
}
dock_tab_move_right->set_focus_mode(Control::FOCUS_NONE);
dock_tab_move_right->connect("pressed", callable_mp(this, &EditorNode::_dock_move_right));