mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-14 20:27:33 +08:00
Refactoring
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import Drag from "../input/Drag"
|
||||
import GraphEntity from "./GraphEntity"
|
||||
import GraphElement from "./GraphElement"
|
||||
|
||||
export default class SelectableDraggable extends GraphEntity {
|
||||
export default class SelectableDraggable extends GraphElement {
|
||||
|
||||
constructor(template) {
|
||||
super(template)
|
||||
constructor(...args) {
|
||||
super(...args)
|
||||
this.dragObject = null
|
||||
this.location = [0, 0]
|
||||
this.selected = false
|
||||
|
||||
Reference in New Issue
Block a user