mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-10 20:27:50 +00:00
add contextmenu actions to edit menu
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
import { Save } from 'lucide-svelte';
|
||||
import { ListFileItem, ListTrackItem, type ListItem } from './FileList';
|
||||
import { selection } from './Selection';
|
||||
import { gpxLayers } from '$lib/stores';
|
||||
import { editStyle, gpxLayers } from '$lib/stores';
|
||||
import { _ } from 'svelte-i18n';
|
||||
|
||||
export let item: ListItem;
|
||||
@@ -89,6 +89,10 @@
|
||||
$: if ($selection && open) {
|
||||
setStyleInputs();
|
||||
}
|
||||
|
||||
$: if (!open) {
|
||||
$editStyle = false;
|
||||
}
|
||||
</script>
|
||||
|
||||
<Popover.Root bind:open>
|
||||
|
Reference in New Issue
Block a user