Removed unnecessary enlargement of bounding box (#1048)
This commit is contained in:
parent
61ec73a741
commit
ed6586c7dd
|
@ -314,8 +314,8 @@ class InfiniteLine(GraphicsObject):
|
||||||
length = br.width()
|
length = br.width()
|
||||||
left = br.left() + length * self.span[0]
|
left = br.left() + length * self.span[0]
|
||||||
right = br.left() + length * self.span[1]
|
right = br.left() + length * self.span[1]
|
||||||
br.setLeft(left - w)
|
br.setLeft(left)
|
||||||
br.setRight(right + w)
|
br.setRight(right)
|
||||||
br = br.normalized()
|
br = br.normalized()
|
||||||
|
|
||||||
vs = self.getViewBox().size()
|
vs = self.getViewBox().size()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user