Mergin better performance branch

This commit is contained in:
barsdeveloper
2022-09-04 14:33:22 +02:00
parent 47c15fbf8d
commit 715dee6a5a
97 changed files with 2725 additions and 2833 deletions

View File

@@ -1,11 +1,9 @@
// @ts-check
import IMouseClickDrag from "./IMouseClickDrag"
export default class MouseScrollGraph extends IMouseClickDrag {
startDrag() {
this.blueprint.template.applyStartDragScrolling(this.blueprint)
this.blueprint.scrolling = true
}
dragTo(location, movement) {
@@ -13,6 +11,6 @@ export default class MouseScrollGraph extends IMouseClickDrag {
}
endDrag() {
this.blueprint.template.applyEndDragScrolling(this.blueprint)
this.blueprint.scrolling = false
}
}