Style improvements

This commit is contained in:
Alexey Meshkov
2023-02-02 12:57:10 +01:00
committed by Braks
parent a7b2898f14
commit 7442ec2dcb

View File

@@ -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
})