Organizing input actions in device folders

This commit is contained in:
barsdeveloper
2022-01-05 22:26:56 +01:00
parent 7704850cf6
commit a6ff4161e8
19 changed files with 41 additions and 41 deletions

View File

@@ -1,6 +1,6 @@
import GraphElement from "./GraphElement"
import PinTemplate from "../template/PinTemplate"
import DragLink from "../input/DragLink"
import MouseCreateLink from "../input/mouse/MouseCreateLink"
import GraphLink from "./GraphLink"
export default class GraphPin extends GraphElement {
@@ -15,7 +15,7 @@ export default class GraphPin extends GraphElement {
createInputObjects() {
return [
new DragLink(this.clickableElement, this.blueprint, {
new MouseCreateLink(this.clickableElement, this.blueprint, {
moveEverywhere: true
}),
]