feat: Add option to disable mousewheel carousel scrolling (#2263)

- Closes: #2220
This commit is contained in:
Dermot Duffy
2025-12-08 17:19:56 -08:00
committed by GitHub
parent f276b8c57d
commit 13bea49429
18 changed files with 69 additions and 7 deletions
+2
View File
@@ -40,6 +40,7 @@ export const viewerConfigDefault = {
...ptzControlsDefaults,
mode: 'off' as const,
},
wheel: true,
},
};
@@ -101,6 +102,7 @@ export const viewerConfigSchema = z
timeline: miniTimelineConfigSchema.default(
viewerConfigDefault.controls.timeline,
),
wheel: z.boolean().default(viewerConfigDefault.controls.wheel),
})
.default(viewerConfigDefault.controls),
})