perf(性能优化): 优化资源读写与字体图像处理
build.yaml / build (push) Successful in 9m22s

This commit is contained in:
xiaoqidun committed 2026-10-14 08:22:31 +08:00
1 parent 21bd592358
commit bec13d523f
47 files changed
+1455 -539

No files matched your search

+6
View File
@@ -82,6 +82,12 @@ func (e *Editor) AddColorSpace(space ColorSpace, profile []byte) (string, error)
break
}
}
if space.Profile == "" {
resource := e.registeredResource(id)
if resource.space != nil && resource.space.Type == space.Type {
space.Profile = "/" + resource.name
}
}
}
if space.profile == nil {
var err error