feat: Add option to disable mousewheel carousel scrolling (#2263)
- Closes: #2220
This commit is contained in:
@@ -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),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user