mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix type errors in registry/lib/components/touch/player-gestures/GesturePreview.vue
This commit is contained in:
parent
4789110236
commit
38d25fc3fa
@ -97,7 +97,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
opened: false,
|
opened: false,
|
||||||
video: dq('video'),
|
video: dq('video') as HTMLVideoElement,
|
||||||
videoshot: new Videoshot(),
|
videoshot: new Videoshot(),
|
||||||
videoshotStyle: {},
|
videoshotStyle: {},
|
||||||
store: defaultStore,
|
store: defaultStore,
|
||||||
@ -184,7 +184,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async apply({ brightness, volume, progress }: GesturePreviewParams) {
|
async apply({ brightness, volume, progress }: GesturePreviewParams) {
|
||||||
const video = this.video as HTMLVideoElement
|
const { video } = this
|
||||||
if (!video) {
|
if (!video) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user