diff options
author | Yuri Sizov <yuris@humnom.net> | 2022-09-07 02:30:54 +0300 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2022-09-07 03:01:58 +0300 |
commit | 1459507ed28d68e0066ee2631c0b3671c1c76faa (patch) | |
tree | 4bfcd1d91582dd943a158ffec5b986b158207ee6 /editor/export | |
parent | 432c4c40a9d29c127a5957944ca8f805dfb836ce (diff) |
Rename EditorInterface.get_editor_main_control to get_editor_main_screen
Diffstat (limited to 'editor/export')
-rw-r--r-- | editor/export/editor_export_platform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/export/editor_export_platform.cpp b/editor/export/editor_export_platform.cpp index 525a962222..2a444bb04f 100644 --- a/editor/export/editor_export_platform.cpp +++ b/editor/export/editor_export_platform.cpp @@ -287,7 +287,7 @@ Error EditorExportPlatform::_save_zip_file(void *p_userdata, const String &p_pat Ref<ImageTexture> EditorExportPlatform::get_option_icon(int p_index) const { Ref<Theme> theme = EditorNode::get_singleton()->get_editor_theme(); ERR_FAIL_COND_V(theme.is_null(), Ref<ImageTexture>()); - if (EditorNode::get_singleton()->get_main_control()->is_layout_rtl()) { + if (EditorNode::get_singleton()->get_main_screen_control()->is_layout_rtl()) { return theme->get_icon(SNAME("PlayBackwards"), SNAME("EditorIcons")); } else { return theme->get_icon(SNAME("Play"), SNAME("EditorIcons")); |