diff --git a/registry/lib/components/touch/player-gestures/entry.ts b/registry/lib/components/touch/player-gestures/entry.ts index f6feaacb3..dc0e6299c 100644 --- a/registry/lib/components/touch/player-gestures/entry.ts +++ b/registry/lib/components/touch/player-gestures/entry.ts @@ -39,7 +39,8 @@ export const entry = async () => { }) ;['volume', 'brightness'].forEach(type => { swiper.action.addEventListener(type, (e: CustomEvent) => { - if (getComponentSettings('touchPlayerGestures').options[`${type}Control`]) { + const { options } = getComponentSettings('touchPlayerGestures').options + if (options[`${type}Control`]) { gestureVM.startPreview({ [type]: e.detail, })