mirror of
https://github.com/lxsang/Diya-API.git
synced 2024-12-27 11:58:21 +01:00
fix: incorrect line rendering
This commit is contained in:
parent
f3ef0c1aa0
commit
766ae23f8e
@ -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 ).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user