mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Merge pull request #1727 from dragos-efy/efy
Add efy trans filter support for chapters
This commit is contained in:
commit
49e2868a2f
1 changed files with 5 additions and 3 deletions
|
@ -1,12 +1,14 @@
|
||||||
<template>
|
<template>
|
||||||
<!-- desktop view -->
|
<!-- desktop view -->
|
||||||
<div v-if="!mobileLayout" class="pp-chapters flex-col overflow-y-scroll max-h-75vh min-h-64 lt-lg:hidden">
|
<div v-if="!mobileLayout" class="pp-chapters flex-col overflow-y-scroll max-h-75vh min-h-64 lt-lg:hidden">
|
||||||
<h6 aria-label="chapters" title="chapters">{{ $t("video.chapters") }} - {{ chapters.length }}</h6>
|
<h6 aria-label="chapters" title="chapters" class="efy_trans_filter">
|
||||||
|
{{ $t("video.chapters") }} - {{ chapters.length }}
|
||||||
|
</h6>
|
||||||
<div
|
<div
|
||||||
:key="chapter.start"
|
:key="chapter.start"
|
||||||
v-for="(chapter, index) in chapters"
|
v-for="(chapter, index) in chapters"
|
||||||
@click="$emit('seek', chapter.start)"
|
@click="$emit('seek', chapter.start)"
|
||||||
class="chapter efy_anim_pulse"
|
class="chapter efy_anim_pulse efy_trans_filter"
|
||||||
:class="{ 'pp-chapter-active': isCurrentChapter(index) }"
|
:class="{ 'pp-chapter-active': isCurrentChapter(index) }"
|
||||||
>
|
>
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
|
@ -24,7 +26,7 @@
|
||||||
:key="chapter.start"
|
:key="chapter.start"
|
||||||
v-for="(chapter, index) in chapters"
|
v-for="(chapter, index) in chapters"
|
||||||
@click="$emit('seek', chapter.start)"
|
@click="$emit('seek', chapter.start)"
|
||||||
class="chapter efy_anim_pulse"
|
class="chapter efy_anim_pulse efy_trans_filter"
|
||||||
:class="{ 'pp-chapter-active': isCurrentChapter(index) }"
|
:class="{ 'pp-chapter-active': isCurrentChapter(index) }"
|
||||||
>
|
>
|
||||||
<img :src="chapter.image" :alt="chapter.title" />
|
<img :src="chapter.image" :alt="chapter.title" />
|
||||||
|
|
Loading…
Reference in a new issue