Style improvements

This commit is contained in:
Alexey Meshkov
2023-02-06 23:45:24 +01:00
committed by Braks
parent a7b2898f14
commit 7442ec2dcb
@@ -42,9 +42,11 @@ const aspectRatio = computed(() => {
if (props.keepAspectRatio === true && startValues.value.width && startValues.value.height) {
return startValues.value.width / startValues.value.height
}
if (typeof props.keepAspectRatio == 'number') {
return props.keepAspectRatio
}
return undefined
})