Fix Ctrl+Shift+Z redo shortcut
This shortcut was previously triggering the Undo action due to the matches_logically method ignoring the state of the Shift key. This was solved by simply inverting the order of the undo and redo arms, so the undo is not matched if the shortcut corresponds to redo.
- Closes https://github.com/emilk/egui/issues/5255
- [x] I have followed the instructions in the PR template
Preview available at https://egui-pr-preview.github.io/pr/5258-fix-redo-shortcut Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.
Not sure if this is the best solution, or if it would be better to just use matches_exact instead. I don't know if there would be any undesirable side effects on different keyboards.
Edit: according to the consume_shortcut documentation, the correct approach is to order the shortcuts from most to least "specific" as is done in this PR, so I'm leaving it as is.