|
@@ -25,6 +25,13 @@
|
|
|
@click="next">
|
|
|
>
|
|
|
</button-input>
|
|
|
+
|
|
|
+ <button-input type="transparent"
|
|
|
+ style="color: var(--on_error)"
|
|
|
+ :class="{disabled: !hasNext}"
|
|
|
+ @click="$emit('control', !control)">
|
|
|
+ {{ control ? '▼' : '▲' }}
|
|
|
+ </button-input>
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
@@ -36,7 +43,7 @@ import ButtonRow from "@/components/base/button-row";
|
|
|
export default {
|
|
|
name: "media-control",
|
|
|
components: {ButtonRow, ButtonInput},
|
|
|
- props: ['hasPrevious', 'hasNext'],
|
|
|
+ props: ['hasPrevious', 'hasNext', 'control'],
|
|
|
methods: {
|
|
|
previous: function() {
|
|
|
if (this.hasPrevious)
|