Skip to content

Commit

Permalink
Compatibility with older KLayout versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koefferlein committed Sep 5, 2023
1 parent 2753cee commit 62eb67d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ruby/xsection_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,8 @@ def background
@lines.each do |line|
box += RBA::Box::new(line.p1, line.p2)
end
box.enlarge(@extend + @delta * 5)
enl = @extend + @delta * 5
box.enlarge(RBA::Vector::new(enl, enl))
return box
end

Expand Down

0 comments on commit 62eb67d

Please sign in to comment.