Fix / simplify animation behavior

This commit is contained in:
Matthias 2023-10-22 14:30:55 +02:00
parent 7beb7ddb06
commit 0b92fcc5e4
2 changed files with 4 additions and 4 deletions

View File

@ -78,8 +78,8 @@
</div>
</div>
</div>
<transition name="fade" mode="in-out">
<div v-if="!plotConfigModal" v-show="showPlotConfig" class="w-25 config-sidebar">
<transition name="fade">
<div v-if="!plotConfigModal" v-show="showPlotConfig" class="w-25">
<PlotConfigurator :columns="datasetColumns" :is-visible="showPlotConfig ?? false" />
</div>
</transition>
@ -237,7 +237,7 @@ onMounted(() => {
transition: all 0.2s;
}
.fade-enter,
.fade-enter-from,
.fade-leave-to {
opacity: 0;
transform: translateX(30px);

View File

@ -80,7 +80,7 @@
@click="showLeftBar = !showLeftBar"
>{{ showLeftBar ? '&lt;' : '&gt;' }}</b-button
>
<transition name="fade" mode="in-out">
<transition name="fade">
<BacktestResultSelect
v-if="btFormMode !== 'visualize' && showLeftBar"
:backtest-history="botStore.activeBot.backtestHistory"