Removed unnecessary enlargement of bounding box (#1048)

This commit is contained in:
2xB 2019-09-30 18:15:03 +02:00 committed by Ogi Moore
parent 61ec73a741
commit ed6586c7dd

View File

@ -314,8 +314,8 @@ class InfiniteLine(GraphicsObject):
length = br.width()
left = br.left() + length * self.span[0]
right = br.left() + length * self.span[1]
br.setLeft(left - w)
br.setRight(right + w)
br.setLeft(left)
br.setRight(right)
br = br.normalized()
vs = self.getViewBox().size()