mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 13:56:32 +08:00
This commit is contained in:
1 parent
21bd592358
commit
bec13d523f
47 files changed
+1455
-539
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user