Skip to content

Commit

Permalink
feat(timeline): increase mousewheel zoom speed
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Nov 29, 2021
1 parent f1d534f commit 99043ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ export default defineComponent({
const centerRatio = event.offsetX / viewWidth / window.devicePixelRatio
const center = size * centerRatio + startTime.value
let newSize = size + event.deltaY / viewWidth * size * 2
let newSize = size + event.deltaY / viewWidth * size * 4
if (newSize < MIN_CAMERA_SIZE) {
newSize = MIN_CAMERA_SIZE
}
Expand Down

0 comments on commit 99043ef

Please sign in to comment.