mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-21 14:24:47 +08:00
Blueprint focusable
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import MouseClickDrag from "./MouseClickDrag"
|
||||
|
||||
export default class Drag extends MouseClickDrag {
|
||||
|
||||
constructor(target, blueprint, options) {
|
||||
super(target, blueprint, options)
|
||||
this.stepSize = parseInt(options?.stepSize)
|
||||
@@ -33,7 +34,7 @@ export default class Drag extends MouseClickDrag {
|
||||
return
|
||||
}
|
||||
|
||||
this.target.dragDispatch(d)
|
||||
this.target.dispatchDragEvent(d)
|
||||
|
||||
// Reassign the position of mouse
|
||||
this.mousePosition = mousePosition
|
||||
|
||||
Reference in New Issue
Block a user