added fade to collapse

This commit is contained in:
booploops 2022-06-03 04:28:55 -07:00
parent 5638d19096
commit 0113efcc69
3 changed files with 22 additions and 2 deletions

View file

@ -59,8 +59,13 @@
v-b-tooltip.hover
:title="chrome.sidebarCollapsed ? getLz('action.showLibrary') : getLz('action.hideLibrary')"
@click="chrome.sidebarCollapsed = !chrome.sidebarCollapsed">
<span v-if="chrome.sidebarCollapsed"></span>
<span v-else></span>
<transition name="fade">
<span v-if="chrome.sidebarCollapsed"></span>
</transition>
<transition name="fade">
<span v-if="!chrome.sidebarCollapsed"></span>
</transition>
</button>
</div>
<div