diff --git a/CHANGES.md b/CHANGES.md index 0d562ed..c221fa7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,11 @@ # Change Log +## 0.2.2 (2025-03-02) + +### Improvements + +- Delete button are only displayed on mouse over + ## 0.2.1 (2025-02-28) ### IMPORTANT NOTICE diff --git a/README.md b/README.md index 531ab44..a3f1548 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,9 @@ 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. -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 diff --git a/package.json b/package.json index 5337005..83f89a9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ascapes-mixer", "private": true, - "version": "0.2.1", + "version": "0.2.2", "type": "module", "scripts": { "dev": "vite dev", diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index ca3fd3a..1815e2d 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "ascapes-mixer", - "version": "0.2.1", + "version": "0.2.2", "identifier": "ascapes.mixer", "build": { "frontendDist": "../build", diff --git a/src/lib/catalog/CatalogItem.svelte b/src/lib/catalog/CatalogItem.svelte index 657de36..be8083f 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; @@ -175,6 +180,7 @@ resize: none; padding: 4px; border-radius: 4px; + overflow: hidden; } .playlist-footer { @@ -193,6 +199,7 @@ } button { + visibility: hidden; margin: 0; padding: 0; background: none; diff --git a/src/lib/player/Player.svelte b/src/lib/player/Player.svelte index 38d2ee9..8312aa9 100644 --- a/src/lib/player/Player.svelte +++ b/src/lib/player/Player.svelte @@ -6,6 +6,17 @@ let { playlist } = $props(); + /* + + ToDo: + + Move current track and playback states to the Music / Ambiente component + to be able to get to playlists page without stopping the playback. + + Maybe should even put the player on the playlists page, to be able to + controll playback while managing playlists. + + */ let currentTrackState = $state({ id: null, index: null, 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 diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 96c0800..bee204a 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -47,8 +47,10 @@ let isAmbientCatalogsMode = $state(true); let isEffectsCatalogsMode = $state(true); + +