mirror of
https://github.com/lxsang/Diya-API.git
synced 2025-07-26 02:39:47 +02:00
fix: incorrect line rendering
This commit is contained in:
@ -85,9 +85,7 @@ DiyaLine >> inner: aPoint [
|
|||||||
DiyaLine >> process [
|
DiyaLine >> process [
|
||||||
|extent|
|
|extent|
|
||||||
bbox := (Rectangle origin: from corner: to ).
|
bbox := (Rectangle origin: from corner: to ).
|
||||||
bbox origin = translation ifFalse:[self position: bbox origin].
|
self position: bbox origin.
|
||||||
from := from - bbox origin.
|
|
||||||
to := to - bbox origin.
|
|
||||||
extent := bbox extent.
|
extent := bbox extent.
|
||||||
bbox := (Rectangle origin: 0@0 corner: extent ).
|
bbox := (Rectangle origin: 0@0 corner: extent ).
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user