Skip to content

Commit 48ca4ef

Browse files
committed
feat(timeline): mousewheel is now zoom by default
1 parent 99043ef commit 48ca4ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app-frontend/src/features/timeline/TimelineView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ export default defineComponent({
10941094
const size = endTime.value - startTime.value
10951095
const viewWidth = wrapper.value.offsetWidth
10961096
1097-
if (event.ctrlKey || event.metaKey) {
1097+
if (!event.shiftKey && !event.altKey) {
10981098
// Zoom
10991099
// Firefox doesn't block the event https://bugzilla.mozilla.org/show_bug.cgi?id=1632465
11001100
event.preventDefault()

0 commit comments

Comments
 (0)