Skip to content

Commit 5a41bb8

Browse files
committed
Merge pull request #113416 from Calinou/editor-animation-use-physical-shortcuts
Use physical key shortcuts for the animation editor's play/pause buttons
2 parents f6092ac + 6669801 commit 5a41bb8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

editor/animation/animation_player_editor_plugin.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2293,11 +2293,11 @@ void fragment() {
22932293
)");
22942294
RS::get_singleton()->material_set_shader(onion.capture.material->get_rid(), onion.capture.shader->get_rid());
22952295

2296-
ED_SHORTCUT("animation_editor/stop_animation", TTRC("Pause/Stop Animation"), Key::S);
2297-
ED_SHORTCUT("animation_editor/play_animation", TTRC("Play Animation"), Key::D);
2298-
ED_SHORTCUT("animation_editor/play_animation_backwards", TTRC("Play Animation Backwards"), Key::A);
2299-
ED_SHORTCUT("animation_editor/play_animation_from_start", TTRC("Play Animation from Start"), KeyModifierMask::SHIFT + Key::D);
2300-
ED_SHORTCUT("animation_editor/play_animation_from_end", TTRC("Play Animation Backwards from End"), KeyModifierMask::SHIFT + Key::A);
2296+
ED_SHORTCUT("animation_editor/stop_animation", TTRC("Pause/Stop Animation"), Key::S, true);
2297+
ED_SHORTCUT("animation_editor/play_animation", TTRC("Play Animation"), Key::D, true);
2298+
ED_SHORTCUT("animation_editor/play_animation_backwards", TTRC("Play Animation Backwards"), Key::A, true);
2299+
ED_SHORTCUT("animation_editor/play_animation_from_start", TTRC("Play Animation from Start"), KeyModifierMask::SHIFT + Key::D, true);
2300+
ED_SHORTCUT("animation_editor/play_animation_from_end", TTRC("Play Animation Backwards from End"), KeyModifierMask::SHIFT + Key::A, true);
23012301
}
23022302

23032303
AnimationPlayerEditor::~AnimationPlayerEditor() {

0 commit comments

Comments
 (0)