Style improvements
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user