summaryrefslogtreecommitdiffstats
path: root/editor/debugger
diff options
context:
space:
mode:
authorClay John <claynjohn@gmail.com>2024-10-17 16:58:23 -0700
committerGitHub <noreply@github.com>2024-10-17 16:58:23 -0700
commit1435247de0d58cbf839174c2e1875c73433663cb (patch)
tree1ea45a375917d529c7b20013bdd1d32f94cc3cf2 /editor/debugger
parent0ce4d8fcd35cc510684d24910cf0ac9123eac1c0 (diff)
parent9ed655d0eb8f731cd814a01fdfea428b007c412f (diff)
downloadredot-engine-1435247de0d58cbf839174c2e1875c73433663cb.tar.gz
Merge pull request #98222 from timothyqiu/media-control-rtl
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;
}