From 05c298ca2c2262b0b595d9b872cac5df2d279470 Mon Sep 17 00:00:00 2001 From: Phan An Date: Sat, 16 Jul 2022 17:44:45 +0200 Subject: [PATCH] fix: optimize thumbnail animation --- resources/assets/js/app.ts | 2 +- .../assets/js/components/layout/AppHeader.vue | 3 +- .../js/components/screens/AlbumListScreen.vue | 2 +- .../components/screens/ArtistListScreen.vue | 2 +- .../js/components/screens/HomeScreen.vue | 2 +- .../js/components/screens/UploadScreen.vue | 2 +- .../js/components/screens/UserListScreen.vue | 2 +- .../js/components/screens/YouTubeScreen.vue | 2 +- .../screens/search/SearchExcerptsScreen.vue | 4 +-- .../search/SearchSongResultsScreen.vue | 8 +---- .../assets/js/components/ui/ScreenHeader.vue | 36 +++++++++++-------- .../js/components/ui/ThumbnailStack.vue | 5 ++- resources/assets/sass/partials/_shared.scss | 4 +++ resources/assets/sass/partials/_vars.scss | 1 + 14 files changed, 42 insertions(+), 33 deletions(-) diff --git a/resources/assets/js/app.ts b/resources/assets/js/app.ts index 758f790f..603a7b83 100644 --- a/resources/assets/js/app.ts +++ b/resources/assets/js/app.ts @@ -17,4 +17,4 @@ createApp(App) */ .mount('#app') -navigator.serviceWorker.register('./sw.js').then(() => console.log('Service Worker Registered')) +navigator.serviceWorker.register('./sw.js') diff --git a/resources/assets/js/components/layout/AppHeader.vue b/resources/assets/js/components/layout/AppHeader.vue index 9cb7df47..2ad6210a 100644 --- a/resources/assets/js/components/layout/AppHeader.vue +++ b/resources/assets/js/components/layout/AppHeader.vue @@ -1,6 +1,6 @@