1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

fix: fixes scroll progress showing temporary (#2355)

This commit is contained in:
Amir Raminfar
2023-08-18 12:48:17 -07:00
committed by GitHub
parent 7f1303ed4d
commit 54610b0f5a
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<template>
<transition name="fade">
<div class="scroll-progress" ref="root" v-show="show">
<div class="scroll-progress" ref="root" v-show="!autoHide || show">
<svg width="100" height="100" viewBox="0 0 100 100" :class="{ indeterminate }">
<circle r="44" cx="50" cy="50" />
</svg>
@@ -8,7 +8,7 @@
<template v-if="indeterminate">
<div class="column is-narrow is-paddingless is-size-2">&#8734;</div>
</template>
<template v-else>
<template v-else-if="!isNaN(scrollProgress)">
<span class="column is-narrow is-paddingless is-size-2">
{{ Math.ceil(scrollProgress * 100) }}
</span>