summaryrefslogtreecommitdiffstats
path: root/editor/debugger
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2024-10-16 16:13:38 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2024-10-16 16:28:11 +0800
commit9ed655d0eb8f731cd814a01fdfea428b007c412f (patch)
tree705530f7ec983f392452d2aeb483f55147e666f8 /editor/debugger
parentaf77100e394dcaca609b15bef815ed17475e51ed (diff)
downloadredot-engine-9ed655d0eb8f731cd814a01fdfea428b007c412f.tar.gz
Don't flip playback control buttons in RTL layout
Diffstat (limited to 'editor/debugger')
-rw-r--r--editor/debugger/editor_visual_profiler.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/editor/debugger/editor_visual_profiler.cpp b/editor/debugger/editor_visual_profiler.cpp
index d4859fbe4d..7b831a1c8b 100644
--- a/editor/debugger/editor_visual_profiler.cpp
+++ b/editor/debugger/editor_visual_profiler.cpp
@@ -437,11 +437,7 @@ void EditorVisualProfiler::_notification(int p_what) {
case NOTIFICATION_LAYOUT_DIRECTION_CHANGED:
case NOTIFICATION_THEME_CHANGED:
case NOTIFICATION_TRANSLATION_CHANGED: {
- if (is_layout_rtl()) {
- activate->set_icon(get_editor_theme_icon(SNAME("PlayBackwards")));
- } else {
- activate->set_icon(get_editor_theme_icon(SNAME("Play")));
- }
+ activate->set_icon(get_editor_theme_icon(SNAME("Play")));
clear_button->set_icon(get_editor_theme_icon(SNAME("Clear")));
} break;
}