This commit is contained in:
Haradhan Sharma 2024-11-20 06:35:52 -05:00 committed by GitHub
commit 5d5a77bf91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,7 +50,7 @@ export default defineComponent({
pointerEvents: 'none',
width: 'auto',
height: `${props.height}px`,
opacity: isLoading.value ? 1 : 0,
opacity: 1,
background: error.value ? props.errorColor : props.color || undefined,
backgroundSize: `${(100 / progress.value) * 100}% auto`,
transform: `scaleX(${progress.value}%)`,