From 3e52a11a9b6d315d7618282f74aed9ea9e5a14b9 Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Thu, 22 Jun 2017 10:20:44 +0200 Subject: [PATCH] typo --- src/sliceActions/addBrim.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sliceActions/addBrim.js b/src/sliceActions/addBrim.js index f11cc66..000dce5 100644 --- a/src/sliceActions/addBrim.js +++ b/src/sliceActions/addBrim.js @@ -14,9 +14,9 @@ export default function addBrim(slices, settings) { let { brimOffset } = settings.config; brimOffset /= PRECISION; - const [fistLayer] = slices; + const [firstLayer] = slices; - fistLayer.brim = fistLayer.parts.reduce((brim, { shape }) => { + firstLayer.brim = firstLayer.parts.reduce((brim, { shape }) => { brim.join(shape.offset(brimOffset, { ...offsetOptions, endType: shape.closed ? 'etClosedPolygon' : 'etOpenRound'