We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
drag
For #374
This is duplicated in 4 draggable Nodes. Can it be factored out? Is it worth it?
// Drag action that is common to DragListener and KeyboardDragListener const drag = () => { wasDraggedProperty.value = true; };
The text was updated successfully, but these errors were encountered:
factored out protected drag method, #379
b8bafc6
Two of these occurrences where in subclasses of OpticalObjectNode, so those were moved into that base class.
The other two occurrences are in SecondPointNode and ProjectionScreenNode, both of which extend Node. I decided to leave those alone.
Closing.
Sorry, something went wrong.
pixelzoom
No branches or pull requests
For #374
This is duplicated in 4 draggable Nodes. Can it be factored out? Is it worth it?
The text was updated successfully, but these errors were encountered: