minor style improvements
This commit is contained in:
@ -26,17 +26,26 @@
|
||||
let xr = cx + w / 2
|
||||
|
||||
y -= h / 2
|
||||
shapes += draw.line((x0, y), (xl, y))
|
||||
shapes += draw.line((xr, y), (x1, y))
|
||||
shapes += draw.rect(
|
||||
(x0, y),
|
||||
(x1, y - 3),
|
||||
stroke: none,
|
||||
fill: white
|
||||
)
|
||||
shapes += draw.line((x0, y), (x1, y))
|
||||
//shapes += draw.line((x0, y), (xl, y))
|
||||
//shapes += draw.line((xr, y), (x1, y))
|
||||
y -= 3
|
||||
shapes += draw.line((x0, y), (xl, y))
|
||||
shapes += draw.line((xr, y), (x1, y))
|
||||
shapes += draw.line((x0, y), (x1, y))
|
||||
//shapes += draw.line((x0, y), (xl, y))
|
||||
//shapes += draw.line((xr, y), (x1, y))
|
||||
shapes += draw.content(
|
||||
((x0 + x1) / 2, y + 1.5),
|
||||
elmt.name,
|
||||
anchor: "center",
|
||||
padding: (5pt, 3pt),
|
||||
frame: "rect"
|
||||
frame: "rect",
|
||||
fill: COL-SEP-NAME
|
||||
)
|
||||
y -= h / 2
|
||||
y -= Y-SPACE
|
||||
|
Reference in New Issue
Block a user