-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
refactor: add selection.state.draggingArea
#1512
refactor: add selection.state.draggingArea
#1512
Conversation
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
It would be better to unify e.g. |
Size Change: 0 B Total Size: 298 kB ℹ️ View Unchanged
|
@@ -1,3 +1,5 @@ | |||
import { clamp } from '../index.js'; | |||
|
|||
export class Point { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need unit test for the basic class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use vitest with happy-dom
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This class implementation looks trivial, we have added tests in tl-utils
in phasor. So I suggest not to do that in this PR.
selection.state.draggingArea
part of #1480