mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
25 lines
584 B
JavaScript
Executable File
25 lines
584 B
JavaScript
Executable File
import MouseClickDrag from "./MouseClickDrag"
|
|
|
|
export default class DragLink extends MouseClickDrag {
|
|
|
|
constructor(target, blueprint, options) {
|
|
super(target, blueprint, options)
|
|
}
|
|
|
|
startDrag() {
|
|
//this.selectorElement.startSelecting(this.clickedPosition)
|
|
}
|
|
|
|
dragTo(location, movement) {
|
|
//this.selectorElement.doSelecting(location)
|
|
}
|
|
|
|
endDrag() {
|
|
if (this.started) {
|
|
//this.selectorElement.finishSelecting()
|
|
} else {
|
|
// this.blueprint.unselectAll()
|
|
}
|
|
}
|
|
}
|