Add set temeout for double history games

This commit is contained in:
Hepatica
2024-03-31 08:47:27 +02:00
parent 4c49d143ae
commit b812ea5e97

View File

@@ -264,7 +264,9 @@ export default {
endGame.value == true endGame.value == true
) { ) {
stopAutoPlay(); stopAutoPlay();
loadGameHistory(); setTimeout(() => {
loadGameHistory();
}, 2000);
} }
} }
} catch (error) { } catch (error) {
@@ -383,9 +385,7 @@ export default {
.double--history-carousel .carousel__slide--prev, .double--history-carousel .carousel__slide--prev,
.double--history-carousel .carousel__slide--next, .double--history-carousel .carousel__slide--next,
.double--history-carousel .carousel__slide--active { .double--history-carousel .carousel__slide--active {
opacity: 1; opacity: 1;
transform: rotateY(0) scale(1); transform: rotateY(0) scale(1);
} }
</style> </style>