Skip to content
Snippets Groups Projects
Commit 01de3ad9 authored by StaffEngineer's avatar StaffEngineer
Browse files

return back ctrl + y for redo

parent af74a11f
No related branches found
No related tags found
No related merge requests found
...@@ -534,7 +534,10 @@ pub fn cosmic_edit_bevy_events( ...@@ -534,7 +534,10 @@ pub fn cosmic_edit_bevy_events(
} }
// redo // redo
#[cfg(target_os = "macos")]
let requested_redo = command && shift && keys.just_pressed(KeyCode::Z); let requested_redo = command && shift && keys.just_pressed(KeyCode::Z);
#[cfg(not(target_os = "macos"))]
let requested_redo = command && keys.just_pressed(KeyCode::Y);
if !cosmic_edit.readonly && requested_redo { if !cosmic_edit.readonly && requested_redo {
let edits = &edit_history.edits; let edits = &edit_history.edits;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment