Bugfix: absolute line segment dragging behavior offset was relative (#5571)
* Refactor: Use the named constant for 'endAbsolute' in more places * Bugfix: lineTo was calculating relative distances instead of absolute * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@ -72,6 +72,7 @@ import {
|
||||
addCallExpressionsToPipe,
|
||||
addCloseToPipe,
|
||||
addNewSketchLn,
|
||||
ARG_END_ABSOLUTE,
|
||||
changeSketchArguments,
|
||||
updateStartProfileAtArgs,
|
||||
} from 'lang/std/sketch'
|
||||
@ -904,7 +905,7 @@ export class SceneEntities {
|
||||
createPipeSubstitution(),
|
||||
])
|
||||
: createCallExpressionStdLibKw('line', null, [
|
||||
createLabeledArg('endAbsolute', originCoords),
|
||||
createLabeledArg(ARG_END_ABSOLUTE, originCoords),
|
||||
]),
|
||||
],
|
||||
})
|
||||
|
Reference in New Issue
Block a user