feat(媒体支持): 完善媒体播放与资源释放
build.yaml / build (push) Successful in 40s

This commit is contained in:
xiaoqidun committed 2026-09-30 21:15:14 +08:00
1 parent 91aa711dfc
commit c5867b0948
20 files changed
+541 -54

No files matched your search

+2
View File
@@ -432,6 +432,7 @@ func (e *Editor) usedResources() (fonts, images []editorResource, spaces []Color
maps.Copy(promoted, used)
}
for _, page := range e.pages {
collectActionReferences(page.Actions, used)
var original map[string]GraphicObject
if e.source != nil {
original = make(map[string]GraphicObject)
@@ -506,6 +507,7 @@ func (x *ofdXML) page(page PageContent) {
x.layer(layer)
}
x.end("Content")
x.actions(page.Actions)
x.end("Page")
}