Skip to content

Commit

Permalink
fix: actually use penup speed instead of pendown speed
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon committed Mar 9, 2019
1 parent ee58451 commit a20462d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -746,8 +746,8 @@ async function replan(paths: Vec2[][], planOptions: PlanOptions) {
corneringFactor: planOptions.penDownCorneringFactor * Device.Axidraw.stepsPerMm,
},
penUpProfile: {
acceleration: planOptions.penDownAcceleration * Device.Axidraw.stepsPerMm,
maximumVelocity: planOptions.penDownMaxVelocity * Device.Axidraw.stepsPerMm,
acceleration: planOptions.penUpAcceleration * Device.Axidraw.stepsPerMm,
maximumVelocity: planOptions.penUpMaxVelocity * Device.Axidraw.stepsPerMm,
corneringFactor: 0,
},
penDropDuration: planOptions.penDropDuration,
Expand Down

0 comments on commit a20462d

Please sign in to comment.