From 766ae23f8e7f6209248a9c51c9500a49d1c37c5c Mon Sep 17 00:00:00 2001 From: Dany LE Date: Sat, 13 Aug 2022 01:47:15 +0200 Subject: [PATCH] fix: incorrect line rendering --- Diya/DiyaLine.class.st | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Diya/DiyaLine.class.st b/Diya/DiyaLine.class.st index 9d035b9..c091772 100644 --- a/Diya/DiyaLine.class.st +++ b/Diya/DiyaLine.class.st @@ -85,9 +85,7 @@ DiyaLine >> inner: aPoint [ DiyaLine >> process [ |extent| bbox := (Rectangle origin: from corner: to ). - bbox origin = translation ifFalse:[self position: bbox origin]. - from := from - bbox origin. - to := to - bbox origin. + self position: bbox origin. extent := bbox extent. bbox := (Rectangle origin: 0@0 corner: extent ).