mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-15 17:54:52 +08:00
Naming
This commit is contained in:
9
js/input/DragScroll.js
Normal file
9
js/input/DragScroll.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import MouseClickDrag from "./MouseClickDrag"
|
||||
|
||||
export default class DragScroll extends MouseClickDrag {
|
||||
|
||||
dragTo(location, movement) {
|
||||
this.blueprint.scrollDelta([-movement[0], -movement[1]])
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user