Created a convenience constructor for Inset

This commit is contained in:
Sasha Koshka
2023-03-23 18:05:30 -04:00
parent 6a08d0f317
commit 8447b06641
3 changed files with 34 additions and 12 deletions

View File

@@ -56,7 +56,7 @@ func NewDirectory (
err error,
) {
element = &Directory { }
element.theme.Case = theme.C("files", "Directory")
element.theme.Case = theme.C("files", "directory")
element.Core, element.core = core.NewCore(element, element.redoAll)
element.Propagator = core.NewPropagator(element, element.core)
err = element.SetLocation(location, within)