Этап 9

This commit is contained in:
2026-03-29 17:25:33 +03:00
parent c3961fcba7
commit 3a61e0a07d
14 changed files with 622 additions and 20 deletions

View File

@@ -113,6 +113,12 @@ public partial class EditorViewModel : ViewModelBase
SyncLayersAndCanvas(doc);
}
/// <summary>
/// Re-syncs the Documents observable collection after an external modification
/// to Container.Documents (e.g. pattern generation adding a document).
/// </summary>
public void SyncAfterExternalChange() => SyncDocumentsList();
private void SyncDocumentsList()
{
Documents.Clear();