Skip to content

Commit

Permalink
new setting: animations.onRouteChangeMediaBannerIn
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksey-hoffman committed Jun 13, 2021
1 parent d34fea8 commit 80ffd69
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,9 @@ export default new Vuex.Store({
storeDirItemOpenDate: true,
},
UIZoomLevel: 1,
animations: {
onRouteChangeMediaBannerIn: true
},
input: {
pointerButtons: {
button3: {
Expand Down
25 changes: 25 additions & 0 deletions src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,30 @@ Copyright © 2021 - present Aleksey Hoffman. All rights reserved.
</template>
</section-settings> -->

<section-settings
class="content-area__content-card__section"
:header="{
icon: {
name: 'mdi-animation-play-outline'
},
title: 'Animations'
}"
>
<template v-slot:content>
<div class="text--sub-title-1 mt-2">
Home page animations
</div>

<v-switch
class="mt-0 pt-0"
v-model="animationsOnRouteChangeMediaBannerIn"
label="Home banner animation"
hint="Setting will apply on the next page change"
persistent-hint
></v-switch>
</template>
</section-settings>

<section-settings
class="content-area__content-card__section"
:header="{
Expand Down Expand Up @@ -1197,6 +1221,7 @@ export default {
navigatorLayout: 'storageData.settings.navigatorLayout',
navigatorOpenDirItemWithSingleClick: 'storageData.settings.navigator.openDirItemWithSingleClick',
dirItemHoverEffect: 'storageData.settings.dirItemHoverEffect',
animationsOnRouteChangeMediaBannerIn: 'storageData.settings.animations.onRouteChangeMediaBannerIn',
pointerButton3onMouseUpEvent: 'storageData.settings.input.pointerButtons.button3.onMouseUpEvent',
pointerButton3onMouseUpEventItems: 'storageData.settings.input.pointerButtons.button3.onMouseUpEventItems',
pointerButton4onMouseUpEvent: 'storageData.settings.input.pointerButtons.button4.onMouseUpEvent',
Expand Down

0 comments on commit 80ffd69

Please sign in to comment.