Skip to content

Commit

Permalink
changed sky music nightly icon and bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Specy committed Apr 26, 2024
1 parent d601398 commit d567b1f
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 23 deletions.
Binary file modified public/favicon.ico
Binary file not shown.
Binary file modified public/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 19 additions & 19 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
{
"name": "Genshin Music Nightly",
"short_name": "Genshin Music Nightly",
"name": "Sky Music Nightly",
"short_name": "Sky Music Nightly",
"description": "A program to record, practice and share music. \nBy downloading the app, you get fullscreen and better overall experience",
"icons": [
{
"src": "/genshinMusic/favicon.ico",
"src": "favicon.ico",
"sizes": "48x48",
"type": "image/x-icon"
},
{
"src": "/genshinMusic/logo192.png",
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/genshinMusic/logo512.png",
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"file_handlers": [
{
"action": "/genshinMusic",
"name": "Import file in genshin music",
"action": "/",
"name": "Import file in sky music",
"accept": {
"application/json": [
".genshinsheet",
".genshinbackup",
".genshintheme",
".genshinfolder"
".skysheet",
".skybackup",
".skytheme",
".skyfolder"
]
},
"icons": [
{
"src": "/genshinMusic/favicon.ico",
"src": "/favicon.ico",
"sizes": "48x48",
"type": "image/x-icon"
},
{
"src": "/genshinMusic/logo192.png",
"src": "/logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/genshinMusic/logo512.png",
"src": "/logo512.png",
"type": "image/png",
"sizes": "512x512"
}
Expand All @@ -52,24 +52,24 @@
],
"screenshots": [
{
"src": "/genshinMusic/manifestData/player.webp",
"src": "manifestData/player.webp",
"type": "image/png",
"sizes": "1280x720"
},
{
"src": "/genshinMusic/manifestData/composer.webp",
"src": "manifestData/composer.webp",
"type": "image/png",
"sizes": "1280x720"
},
{
"src": "/genshinMusic/manifestData/zenkeyboard.webp",
"src": "manifestData/zenkeyboard.webp",
"type": "image/png",
"sizes": "1280x720"
}
],
"start_url": "/genshinMusic",
"start_url": ".",
"display": "fullscreen",
"orientation": "landscape",
"theme_color": "#63aea7",
"background_color": "#495466"
}
}
Binary file modified public/manifestData/composer.webp
Binary file not shown.
Binary file modified public/manifestData/player.webp
Binary file not shown.
Binary file modified public/manifestData/zenkeyboard.webp
Binary file not shown.
Binary file modified src/appData/sky/favicon.ico
Binary file not shown.
Binary file modified src/appData/sky/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/appData/sky/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const CHANGELOG: Update[] = [
"Added customisable presets in MIDI settings",
"Improved MIDI connection",
"Zen keyboard now emits MIDI notes events when pressed",
"Changed Sky Music Nightly icon",
//"Added personal custom layout in the visual song",
"Added app's blog",
"Other bug fixes and improvements"
Expand Down
8 changes: 5 additions & 3 deletions src/components/pages/SheetVisualizer/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ import {songService} from '$lib/Services/SongService'
import {logger} from '$stores/LoggerStore'
import {useRouter} from 'next/router'
import {MenuContextProvider, MenuSidebar} from "$cmp/shared/Menu/MenuContent";

interface SheetVisualiserMenuProps {
import {Stylable} from "$lib/utils/UtilTypes";
interface SheetVisualiserMenuProps extends Stylable{
currentSong: SerializedSong | null,
onSongLoaded: (song: SerializedSong) => void,
}

export function SheetVisualiserMenu({currentSong, onSongLoaded}: SheetVisualiserMenuProps) {
export function SheetVisualiserMenu({currentSong, onSongLoaded, className, style}: SheetVisualiserMenuProps) {
const [songs] = useSongs()
const history = useRouter()
const [selectedPage, setSelectedPage] = useState("")
Expand All @@ -30,6 +30,8 @@ export function SheetVisualiserMenu({currentSong, onSongLoaded}: SheetVisualiser
ref={menuRef}
open={open}
setOpen={setOpen}
className={className}
style={style}
current={selectedPage}
setCurrent={setSelectedPage}
>
Expand Down
4 changes: 3 additions & 1 deletion src/pages/sheet-visualizer/SheetVisualizer.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@
.page-no-print {
padding: 1rem;
}

.no-print{
display: none;
}
.text-notation-wrapper {
background-color: transparent;
color: black;
Expand Down
1 change: 1 addition & 0 deletions src/pages/sheet-visualizer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export default function SheetVisualizer() {
className={s['page-no-print']}
menu={
<SheetVisualiserMenu
className={s['no-print']}
onSongLoaded={setCurrentSong}
currentSong={currentSong}
/>
Expand Down

0 comments on commit d567b1f

Please sign in to comment.