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

changing media click to ctrl+click #13

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

sherlocked01
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Jan 25, 2022

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

email-editor – ./app

🔍 Inspect: https://vercel.com/ravenapp/email-editor/DcJtxYskfXJa7nt2wdQpxfdoPUGN
✅ Preview: https://email-editor-git-click-to-shiftclick-ravenapp.vercel.app

email-editor-server – ./server

🔍 Inspect: https://vercel.com/ravenapp/email-editor-server/8CVDgyBtz6YnThmG5Rp4hCxBVmxK
✅ Preview: https://email-editor-server-git-click-to-shiftclick-ravenapp.vercel.app

@@ -28,6 +28,14 @@ export const Button = ({ props, parentStyle, style, ...rest }) => {
parentStyleCopy.backgroundImage = "url(" + parentStyleCopy.backgroundImage + ")";
}

function isCtrlPressed(e) {
if (e.ctrlKey) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will it work on mac?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can move this method to utils as its getting reused

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.

2 participants