Improves scroll interaction for sequence editor

- Scroll paning (`shift + scroll`) is now synced for the keyframe viewport, easing viewport and scrollbar (Closes #22)
-  Scroll zooming out (`ctrl + scroll down`) is now bounded to avoid zooming out to infinity  (Closes #19)

There is still some quirky behaviour when using scroll to zoom inwards. It does not seem to respect the `pivotPointInUnitSpace` correctly. I've tried fixing it, but I've hit a dead end.
This commit is contained in:
Jørn Myrland 2021-10-02 13:46:52 +02:00 committed by Aria
parent 4d49a8bdd6
commit bf0367bd0d
2 changed files with 42 additions and 1 deletions

View file

@ -7,6 +7,7 @@
margin: 0;
padding: 0;
height: 100%;
background: black;
}
</style>
</head>