mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-07-14 00:33:02 +02:00
Merge branch 'feature/quad-entity' into feature/memory
# Conflicts: # Memola/Canvas/Core/Canvas.swift # Memola/Canvas/Geometries/Stroke/Generators/SolidPointStrokeGenerator.swift # Memola/Canvas/Geometries/Stroke/Stroke.swift
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