mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-21 14:24:47 +08:00
Organizing input actions in device folders
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import Context from "./Context"
|
||||
import ObjectSerializer from "../serialization/ObjectSerializer"
|
||||
import Context from "../Context"
|
||||
import ObjectSerializer from "../../serialization/ObjectSerializer"
|
||||
|
||||
export default class Copy extends Context {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import GraphNode from "../graph/GraphNode"
|
||||
import ObjectSerializer from "../serialization/ObjectSerializer"
|
||||
import Context from "./Context"
|
||||
import GraphNode from "../../graph/GraphNode"
|
||||
import ObjectSerializer from "../../serialization/ObjectSerializer"
|
||||
import Context from "../Context"
|
||||
|
||||
export default class Paste extends Context {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import KeyboardShortcut from "./KeyboardShortcut"
|
||||
import Configuration from "../Configuration"
|
||||
import Configuration from "../../Configuration"
|
||||
|
||||
|
||||
export default class KeyvoardCanc extends KeyboardShortcut {
|
||||
@@ -7,7 +7,7 @@ export default class KeyvoardCanc extends KeyboardShortcut {
|
||||
/**
|
||||
*
|
||||
* @param {HTMLElement} target
|
||||
* @param {import("../Blueprint").default} blueprint
|
||||
* @param {import("../../Blueprint").default} blueprint
|
||||
* @param {OBject} options
|
||||
*/
|
||||
constructor(target, blueprint, options = {}) {
|
||||
@@ -1,4 +1,4 @@
|
||||
import Context from "./Context"
|
||||
import Context from "../Context"
|
||||
|
||||
export default class KeyboardShortcut extends Context {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import MouseClickDrag from "./MouseClickDrag"
|
||||
|
||||
export default class DragLink extends MouseClickDrag {
|
||||
export default class MouseCreateLink extends MouseClickDrag {
|
||||
|
||||
constructor(target, blueprint, options) {
|
||||
super(target, blueprint, options)
|
||||
/** @type {import("../graph/GraphPin").default} */
|
||||
/** @type {import("../../graph/GraphPin").default} */
|
||||
this.target
|
||||
/** @type {import("../graph/GraphLink").default} */
|
||||
/** @type {import("../../graph/GraphLink").default} */
|
||||
this.link
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import MouseClickDrag from "./MouseClickDrag"
|
||||
|
||||
export default class DragMove extends MouseClickDrag {
|
||||
export default class MouseMoveNodes extends MouseClickDrag {
|
||||
|
||||
constructor(target, blueprint, options) {
|
||||
super(target, blueprint, options)
|
||||
@@ -1,6 +1,6 @@
|
||||
import MouseClickDrag from "./MouseClickDrag"
|
||||
|
||||
export default class DragScroll extends MouseClickDrag {
|
||||
export default class MouseScrollGraph extends MouseClickDrag {
|
||||
|
||||
startDrag() {
|
||||
this.blueprint.template.applyStartDragScrolling(this.blueprint)
|
||||
@@ -5,7 +5,7 @@ export default class MouseWheel extends Pointing {
|
||||
/**
|
||||
*
|
||||
* @param {HTMLElement} target
|
||||
* @param {import("../Blueprint").default} blueprint
|
||||
* @param {import("../../Blueprint").default} blueprint
|
||||
* @param {Object} options
|
||||
*/
|
||||
constructor(target, blueprint, options) {
|
||||
@@ -1,5 +1,5 @@
|
||||
import Context from "./Context"
|
||||
import Utility from "../Utility"
|
||||
import Context from "../Context"
|
||||
import Utility from "../../Utility"
|
||||
|
||||
export default class Pointing extends Context {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import Context from "./Context"
|
||||
import Context from "../Context"
|
||||
|
||||
export default class Unfocus extends Context {
|
||||
|
||||
Reference in New Issue
Block a user