fix: onAfterClose init flip value (#6913)

pull/6917/head
Konv Suu 1 year ago committed by GitHub
parent 9855e43805
commit f7cc27b7ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -104,6 +104,8 @@ const Preview = defineComponent({
const onAfterClose = () => {
scale.value = 1;
rotate.value = 0;
flip.x = 1;
flip.y = 1;
setPosition(initialPosition);
emit('afterClose');
};

Loading…
Cancel
Save