Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ctrl-y to redo #2831

Merged
merged 5 commits into from Jan 21, 2021
Merged

feat: add ctrl-y to redo #2831

merged 5 commits into from Jan 21, 2021

Conversation

dwelle
Copy link
Member

@dwelle dwelle commented Jan 20, 2021

On Windows, we use Ctrl-Y instead of Ctrl-Shift-Z to redo.

Should we allow this only on Windows machines? Mac and Linux seems to only use Cmd/Ctrl-Shift-Z.

@vercel
Copy link

vercel bot commented Jan 20, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/excalidraw/excalidraw/d3jukvsdj
✅ Preview: https://excalidraw-git-addctrly.excalidraw.now.sh

@ad1992
Copy link
Member

ad1992 commented Jan 21, 2021

On Windows, we use Ctrl-Y instead of Ctrl-Shift-Z to redo.

Should we allow this only on Windows machines? Mac and Linux seems to only use Cmd/Ctrl-Shift-Z.

Yes, IMO it would be better to bind shortcuts specific to the platform.

@ad1992
Copy link
Member

ad1992 commented Jan 21, 2021

@dwelle will this also show the correct shortcut key for redo in shortcuts dialog ?

@dwelle
Copy link
Member Author

dwelle commented Jan 21, 2021

Now it will. Good catch 👍

image

@dwelle dwelle merged commit 9dc930b into master Jan 21, 2021
@dwelle dwelle deleted the add_ctrl_y branch January 21, 2021 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants