Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Commit 62eb67d

Browse files
author
Matthias Koefferlein
committed
Compatibility with older KLayout versions
1 parent 2753cee commit 62eb67d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ruby/xsection_generator.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,8 @@ def background
438438
@lines.each do |line|
439439
box += RBA::Box::new(line.p1, line.p2)
440440
end
441-
box.enlarge(@extend + @delta * 5)
441+
enl = @extend + @delta * 5
442+
box.enlarge(RBA::Vector::new(enl, enl))
442443
return box
443444
end
444445

0 commit comments

Comments
 (0)