Skip to content

Commit

Permalink
Add a query component for hiding the splash screen.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Mar 18, 2024
1 parent 73be612 commit 28eca3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MainComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,9 @@ export default defineComponent({
}
},
data() {
const showSplashScreen = new URLSearchParams(window.location.search).get("splash")?.toLowerCase() !== "false";
return {
showSplashScreen: true,
showSplashScreen,
backgroundImagesets: [] as BackgroundImageset[],
sheet: null as SheetType,
layersLoaded: false,
Expand Down

0 comments on commit 28eca3c

Please sign in to comment.