mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
reserve entered paths on navigating back
- retain the list of entered folders on going up the directory tree. 😹
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
<div id="folder-nav-title">
|
||||
<div
|
||||
class="folder"
|
||||
|
||||
v-motion
|
||||
:initial="{
|
||||
opacity: 0,
|
||||
@@ -19,7 +18,12 @@
|
||||
<div class="fname">
|
||||
<div class="icon image"></div>
|
||||
<div class="paths">
|
||||
<div class="path" v-for="path in subPaths" :key="path.path">
|
||||
<div
|
||||
class="path"
|
||||
v-for="path in subPaths"
|
||||
:key="path.path"
|
||||
:class="{ current: path.active }"
|
||||
>
|
||||
<span class="text">{{ path.name }}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -120,6 +124,10 @@ defineProps<{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.current > .text {
|
||||
background-color: $accent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user