Skip to content

Commit 67ba961

Browse files
fix: Turtle.get/set_ViewBox negative bounds ( Fixes #286 )
1 parent 381e9ee commit 67ba961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Types/Turtle/get_ViewBox.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ if ($this.'.ViewBox') { return $this.'.ViewBox' }
1818
$viewBox = $this.Maximum - $this.Minimum
1919

2020
# and return the viewbox
21-
return $this.Minimum.X, $this.Minimum.Y, $viewBox.width, $viewBox.height
21+
return $this.Minimum.X, $this.Minimum.Y, $viewBox.X, $viewBox.Y
2222

2323

0 commit comments

Comments
 (0)