perf(drop-and-fusion): remove root Transition component for improve performance
This commit is contained in:
parent
c33f56e3ed
commit
6177fcb2f5
|
@ -8,14 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<div v-if="!gameLoaded" :class="$style.loadingScreen">
|
||||
Loading...
|
||||
</div>
|
||||
<Transition
|
||||
:enterActiveClass="$style.transition_zoom_enterActive"
|
||||
:leaveActiveClass="$style.transition_zoom_leaveActive"
|
||||
:enterFromClass="$style.transition_zoom_enterFrom"
|
||||
:leaveToClass="$style.transition_zoom_leaveTo"
|
||||
:moveClass="$style.transition_zoom_move"
|
||||
mode="out-in"
|
||||
>
|
||||
<!-- ↓に対してTransitionコンポーネントを使うと何故かkeyを指定していてもキャッシュが効かず様々なコンポーネントが都度再評価されてパフォーマンスが低下する -->
|
||||
<div v-show="gameLoaded" class="_gaps_s">
|
||||
<div :class="$style.header">
|
||||
<div :class="[$style.frame, $style.headerTitle]">
|
||||
|
@ -139,7 +132,6 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Transition>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Reference in New Issue