mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-02 13:07:30 +08:00
Revert documentation (caused a bug)
This commit is contained in:
@@ -9,10 +9,9 @@ export default class IMouseWheel extends IPointing {
|
||||
#mouseParentWheelHandler
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {HTMLElement} target
|
||||
* @param {import("../../Blueprint").default} blueprint
|
||||
* @param {Object} options
|
||||
* @param {HTMLElement} target
|
||||
* @param {import("../../Blueprint").default} blueprint
|
||||
* @param {Object} options
|
||||
*/
|
||||
constructor(target, blueprint, options) {
|
||||
options.wantsFocusCallback = true
|
||||
|
||||
@@ -9,9 +9,7 @@ export default class IPointing extends IContext {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {MouseEvent} mouseEvent
|
||||
* @returns
|
||||
* @param {MouseEvent} mouseEvent
|
||||
*/
|
||||
locationFromEvent(mouseEvent) {
|
||||
return this.blueprint.compensateTranslation(
|
||||
|
||||
@@ -2,7 +2,7 @@ import IMouseClickDrag from "./IMouseClickDrag"
|
||||
import LinkElement from "../../element/LinkElement"
|
||||
import LinkMessageElement from "../../element/LinkMessageElement"
|
||||
|
||||
/**
|
||||
/**
|
||||
* @typedef {import("../../element/LinkElement").default} LinkElement
|
||||
* @typedef {import("../../element/PinElement").default} PinElement
|
||||
*/
|
||||
|
||||
@@ -7,10 +7,9 @@ import Utility from "../../Utility"
|
||||
export default class MouseMoveNodes extends IMouseClickDrag {
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {ISelectableDraggableElement} target
|
||||
* @param {*} blueprint
|
||||
* @param {*} options
|
||||
* @param {ISelectableDraggableElement} target
|
||||
* @param {*} blueprint
|
||||
* @param {*} options
|
||||
*/
|
||||
constructor(target, blueprint, options) {
|
||||
super(target, blueprint, options)
|
||||
|
||||
@@ -17,8 +17,7 @@ export default class Unfocus extends IContext {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {HTMLElement} e
|
||||
* @param {HTMLElement} e
|
||||
*/
|
||||
clickedSomewhere(target) {
|
||||
// If target is outside the blueprint grid
|
||||
|
||||
Reference in New Issue
Block a user