feat(编辑能力): 完善内部对象编辑,修复文字重框与复制异常
build.yaml / build (push) Successful in 39s

This commit is contained in:
xiaoqidun committed 2026-09-17 20:27:58 +08:00
1 parent 0f86c8d727
commit f8eeaad9f2
16 files changed
+546 -109

No files matched your search

+2
View File
@@ -313,6 +313,7 @@ func (e *Editor) CropImage(page int, id string, box Box) error {
if err := cropImageObject(image, box); err != nil {
return err
}
object.state.crop = nil
return e.UpdateObject(page, id, object)
}
@@ -370,6 +371,7 @@ func (e *Editor) FitImage(page int, id, mode string) error {
if err := e.fitImage(&object.ImageObject, mode); err != nil {
return err
}
object.state.crop = nil
return e.UpdateObject(page, id, object)
}