Created
September 8, 2019 17:45
-
-
Save crazypixel/a7669e4a03709c099abf299f95544e41 to your computer and use it in GitHub Desktop.
translation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const translation = { | |
x: clientX - state.origin.x, | |
y: clientY - state.origin.y | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment