mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
eb20f66ffb
commit
075797402d
41 files changed
+633
-125
No files matched your search
@@ -907,6 +907,7 @@ func (e *Editor) restoreResourceSnapshot(state Editor) {
|
||||
state.clearFontResourceCache()
|
||||
}
|
||||
state.backends, state.fontDirs, state.fontFS = e.backends, e.fontDirs, e.fontFS
|
||||
state.SetResources(e.runtimeResources)
|
||||
state.encryption, state.output, state.OnWriteProgress = e.encryption, e.output, e.OnWriteProgress
|
||||
state.saveTarget = e.saveTarget
|
||||
state.fontRenderer, state.fontSourcesCache = nil, nil
|
||||
|
||||
Reference in new issue
Block a user