Close #128: ArchiveUI defines cursorPosition() which is used to place entries

This commit is contained in:
2022-09-28 23:05:12 +00:00
parent 36e888723f
commit 9ab0c3d671
7 changed files with 28 additions and 7 deletions

View File

@@ -44,8 +44,12 @@
(method processSystems [&opt :ArchiveUI ui]
(doFor system systems (system.process this ui)))
(prop &mut :Entry->Dynamic defaultInitializer null)
(method :Entry createEntry [:Entry->Dynamic initializer] // initializer returns Dynamic so ->:Void isn't required
(let [e (_newEntry)]
(when defaultInitializer
(defaultInitializer e))
(initializer e)
(dictSet entries e.id e)
(refreshEntry e)