b7c409910f80 — Danielle Hutzley tip 2 years ago
Remove default from form to allow the creation of fragments
2 files changed, 1 insertions(+), 1 deletions(-)

M .tup/db
M yalib-macros.fnl
M .tup/db +0 -0

        
M yalib-macros.fnl +1 -1
@@ 29,7 29,7 @@ 
         _ (form-entry (unpack entry)))))
 
   ; Prefer a more up-to-date formspec default
-  (let [version-h (form-entry :formspec_version (or version 4))
+  (let [version-h (or-empty version (partial form-entry :formspec_version))
         size-h (form-entry :size size)
         position-h (or-empty position (partial form-entry :position))
         anchor-h (or-empty anchor (partial form-entry :anchor))