mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-07-15 01:02:48 +02:00
feat: add quad entity instead of storing in array
This commit is contained in:
@@ -61,7 +61,10 @@ class CanvasViewController: UIViewController {
|
||||
|
||||
override func viewDidDisappear(_ animated: Bool) {
|
||||
super.viewDidDisappear(animated)
|
||||
Persistence.shared.viewContext.refresh(canvas, mergeChanges: false)
|
||||
history.resetRedo()
|
||||
Persistence.performe { context in
|
||||
context.refresh(canvas, mergeChanges: false)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user