Skip to content

Commit 725ee90

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Turtle.get/set_Element ( Fixes #248 )
Omitting SVG if there are no inner turtles
1 parent 188dccc commit 725ee90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Turtle.types.ps1xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4999,7 +4999,7 @@ if ($this.'.Element'.ElementName) {
49994999
)>$(
50005000
# Now include any child elements.
50015001
# First, if we have drawn anything in our turtle, include that
5002-
if ($this.Steps -or $this.Text -or $this.Turtles) {
5002+
if ($this.Steps -or $this.Text -or $this.Turtles.Count) {
50035003
$this.SVG.OuterXml
50045004
}
50055005
@(foreach ($childCollection in 'child','ChildNodes','Children','Content') {

0 commit comments

Comments
 (0)