feat(编辑能力): 完善对象选区与变换,精简界面文案
build.yaml / build (push) Successful in 37s

This commit is contained in:
xiaoqidun committed 2026-09-16 14:37:27 +08:00
1 parent f312350f73
commit 47f7628959
7 files changed
+171 -40

No files matched your search

+2 -4
View File
@@ -655,10 +655,8 @@ func editorObjects(index int, text *ofdgo.PageText) ([]any, error) {
switch object.Type {
case "TextObject":
box = textBoxes[id]
case "ImageObject":
box, err = ofdgo.ParseBox(object.ImageObject.Boundary)
case "PathObject":
box, err = ofdgo.ParseBox(object.PathObject.Boundary)
default:
box, err = currentSession.Renderer.ObjectBounds(object, layer.DrawParam)
}
if err != nil {
continue