From 0f3ca80e014b2d17b62d039a416bc645e66f3a76 Mon Sep 17 00:00:00 2001 From: Ilya Shevelev Date: Fri, 28 Feb 2025 02:54:24 +0100 Subject: [PATCH 1/5] Update readme --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 531ab44..073c0c7 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,6 @@ Ascape Mixer is an audio player and mixer designed for TTRPG actual play, allowi 1. Download the latest installer for your OS from the [Releases](#) page. 2. Run the installer and follow the instructions. 3. Launch the application. -4. Create a playlist in a section of your interset and open it. -4. Drag and drop `.mp3` or `.wav` files into the playlist. ## Development From f0a53a344bc2e94b208eae2bce89e5ecf8d0ccf4 Mon Sep 17 00:00:00 2001 From: Ilya Shevelev Date: Fri, 28 Feb 2025 02:55:47 +0100 Subject: [PATCH 2/5] Add link to releases to readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 073c0c7..a3f1548 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Ascape Mixer is an audio player and mixer designed for TTRPG actual play, allowi ## Installation -1. Download the latest installer for your OS from the [Releases](#) page. +1. Download the latest installer for your OS from the [Releases](https://github.com/ilyaly/ascapes-mixer/releases) page. 2. Run the installer and follow the instructions. 3. Launch the application. From 20dfcf5697faa6a106df16d135e87c92d33719dc Mon Sep 17 00:00:00 2001 From: Ilya Shevelev Date: Fri, 28 Feb 2025 17:10:59 +0100 Subject: [PATCH 3/5] Show actions onhover only --- src/lib/catalog/CatalogItem.svelte | 16 +++++++++++----- src/lib/playlist/Playlist.svelte | 8 ++++++++ src/lib/playlist/PlaylistItem.svelte | 21 ++++++++++++++++----- src/routes/+page.svelte | 2 ++ 4 files changed, 37 insertions(+), 10 deletions(-) diff --git a/src/lib/catalog/CatalogItem.svelte b/src/lib/catalog/CatalogItem.svelte index 657de36..7a9959d 100644 --- a/src/lib/catalog/CatalogItem.svelte +++ b/src/lib/catalog/CatalogItem.svelte @@ -14,6 +14,7 @@ let name = $state(item.name); let description = $state(item.description); + let isMouseOver = $state(false) function handleNameChange() { playlistsState.setPlaylist({ @@ -92,13 +93,13 @@ - - + @@ -140,6 +141,10 @@ } + .playlist:hover button { + visibility: visible; + } + .playlist-header { display: flex; @@ -193,6 +198,7 @@ } button { + visibility: hidden; margin: 0; padding: 0; background: none; diff --git a/src/lib/playlist/Playlist.svelte b/src/lib/playlist/Playlist.svelte index 7945a7c..784b7de 100644 --- a/src/lib/playlist/Playlist.svelte +++ b/src/lib/playlist/Playlist.svelte @@ -172,8 +172,16 @@ handleFilesDrop(droppedFiles); isDragging = false; } + + function handleKeydown(event) { + console.log(event) + } + + + +
{#if items && items.length === 0} Drop audio files here diff --git a/src/lib/playlist/PlaylistItem.svelte b/src/lib/playlist/PlaylistItem.svelte index b60fb60..89251d0 100644 --- a/src/lib/playlist/PlaylistItem.svelte +++ b/src/lib/playlist/PlaylistItem.svelte @@ -100,8 +100,11 @@ await remove(item.path, { baseDir: BaseDirectory.AppLocalData }); } + + +
@@ -141,10 +144,12 @@
+ + \ No newline at end of file