From 63ac26a3202015455310515b87954c66624c76df Mon Sep 17 00:00:00 2001 From: Nikita Krupin Date: Tue, 27 Dec 2022 15:24:42 -0500 Subject: [PATCH] phancy non-shift bottom nav animation --- NUXT/components/bottomNavigation.vue | 55 ++++++++++++++++++++++++---- 1 file changed, 47 insertions(+), 8 deletions(-) diff --git a/NUXT/components/bottomNavigation.vue b/NUXT/components/bottomNavigation.vue index ab7cc66..94f5b76 100644 --- a/NUXT/components/bottomNavigation.vue +++ b/NUXT/components/bottomNavigation.vue @@ -6,15 +6,20 @@ @@ -31,7 +36,7 @@ : 'var(--v-background-darken4)', }" :class=" - tabSelection == i + tabSelection == i && $store.state.tweaks.navigationShift ? $vuetify.theme.dark ? 'tab primary darken-4' : 'tab primary lighten-4' @@ -53,7 +58,7 @@ v-if="$store.state.tweaks.navigationIcons === 2" xmlns="http://www.w3.org/2000/svg" fill="currentColor" - viewBox="0 0 20 20" + viewBox="0 0 21 21" height="1.5rem" width="1.5rem" class="mt-1" @@ -64,7 +69,7 @@ v-if="$store.state.tweaks.navigationIcons === 3" xmlns="http://www.w3.org/2000/svg" fill="currentColor" - viewBox="0 0 32 32" + viewBox="0 0 33 33" height="1.5rem" width="1.5rem" class="mt-1" @@ -74,6 +79,7 @@