Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions components/VGitGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
Transition group doesnt work as v-show=false yeilds x&y=0.
Thus, they appear from the top left corner of the screen.
-->
<transition-group name="fade" tag="g">
<g :id="'g-'+branchName" v-for="(items, branchName) in _$" :key="'path-'+branchName"
v-show="branchName in $store.state.show">
<Paths
class="transition-move"
:items="items" :branchName="branchName"
/>
</g>
</transition-group>

<g :id="branchName+'-Links'" v-for="(items, branchName) in _$" :key="'link-'+branchName">
<Links
Expand Down Expand Up @@ -83,4 +85,10 @@ export default {
.transition-move {
transition: all 1s;
}
.fade-enter-to, .fade-leave-active {
transition: opacity 0.5s ease-in-out;
}
.fade-enter, .fade-leave-to {
opacity: 0;
}
</style>