mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
6a4b322e2c
commit
151ddb0a20
21 files changed
+819
-195
No files matched your search
@@ -908,6 +908,7 @@ func (e *Editor) restoreResourceSnapshot(state Editor) {
|
||||
}
|
||||
state.backends, state.fontDirs, state.fontFS = e.backends, e.fontDirs, e.fontFS
|
||||
state.encryption, state.output, state.OnWriteProgress = e.encryption, e.output, e.OnWriteProgress
|
||||
state.saveTarget = e.saveTarget
|
||||
state.fontRenderer, state.fontSourcesCache = nil, nil
|
||||
state.fontMetrics = make(map[string]FontMetrics)
|
||||
*e = state
|
||||
|
||||
Reference in new issue
Block a user