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