do not coerce in loadedPercent

This commit is contained in:
Tomáš Mládek 2021-01-16 14:52:29 +01:00
parent 2e2728f4e2
commit 869c4ea129

View file

@ -1,6 +1,6 @@
<template> <template>
<div class="svg-content"> <div class="svg-content">
<div :class="['loading', {loaded: loadedPercent == 100}]"> <div :class="['loading', {loaded: loadedPercent === 100}]">
<div :style="{width: `${loadedPercent}%`}" class="loading-bar"></div> <div :style="{width: `${loadedPercent}%`}" class="loading-bar"></div>
</div> </div>
<div class="content" ref="root"> <div class="content" ref="root">