save
This commit is contained in:
parent
5c96ffe6a1
commit
9fd773bbb7
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ func (c *compiler) compileReserved(attrs *d2graph.Attributes, f *d2ir.Field) {
|
||||||
attrs.Link = &d2graph.Scalar{}
|
attrs.Link = &d2graph.Scalar{}
|
||||||
attrs.Link.Value = scalar.ScalarString()
|
attrs.Link.Value = scalar.ScalarString()
|
||||||
attrs.Link.MapKey = f.LastPrimaryKey()
|
attrs.Link.MapKey = f.LastPrimaryKey()
|
||||||
// TODO I think these all need the rank actually
|
// TODO I think all the attributes need the range actually
|
||||||
attrs.Link.MapKey.Range = scalar.GetRange()
|
attrs.Link.MapKey.Range = scalar.GetRange()
|
||||||
case "direction":
|
case "direction":
|
||||||
dirs := []string{"up", "down", "right", "left"}
|
dirs := []string{"up", "down", "right", "left"}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue