mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-13 00:24:48 +08:00
9 lines
211 B
JavaScript
9 lines
211 B
JavaScript
import MouseClickDrag from "./MouseClickDrag"
|
|
|
|
export default class DragScroll extends MouseClickDrag {
|
|
|
|
dragTo(location, movement) {
|
|
this.blueprint.scrollDelta([-movement[0], -movement[1]])
|
|
}
|
|
|
|
} |