mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-15 12:57:39 +08:00
Avoid using arrays when unnecessary
This commit is contained in:
@@ -7,7 +7,7 @@ export default class MouseScrollGraph extends IMouseClickDrag {
|
||||
}
|
||||
|
||||
dragTo(location, movement) {
|
||||
this.blueprint.scrollDelta([-movement[0], -movement[1]])
|
||||
this.blueprint.scrollDelta(-movement[0], -movement[1])
|
||||
}
|
||||
|
||||
endDrag() {
|
||||
|
||||
Reference in New Issue
Block a user