Commit 52d6355e authored by zhengke's avatar zhengke

裁剪 圆固定 为1:1矩形

parent 3a0911e9
......@@ -188,6 +188,7 @@ const getImageElementDataBeforeClip = () => {
// 预设裁剪
const presetImageClip = (shape: string, ratio = 0) => {
if(shape=='ellipse') ratio = 1
const _handleElement = handleElement.value as PPTImageElement
const {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment