1
0
Fork 0

fix(hortensia): Remove option

This commit is contained in:
joostdecock 2021-09-12 18:23:42 +02:00
parent 102d17b25c
commit 34ee68b5d7
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ export default {
pctHandleSpace: 50, pctHandleSpace: 50,
pctHandleVert: 42, pctHandleVert: 42,
strapLength: { pct: 160, min: 75, max: 250 }, strapLength: { pct: 160, min: 75, max: 250 },
handleWidth: { mm: 20, min: 7, max: 30 }, handleWidth: { pct: 10, min: 5, max: 30 },
size: { pct: 50, min: 20, max: 200 }, size: { pct: 50, min: 20, max: 200 },
zipperSize: { dflt: '#5', list: ['#3', '#4', '#4.5', '#5', '#6', '#8', '#10', 'Invisible'] }, zipperSize: { dflt: '#5', list: ['#3', '#4', '#4.5', '#5', '#6', '#8', '#10', 'Invisible'] },
}, },

View file

@ -43,7 +43,7 @@ export default function (part) {
.attr('class', 'fabric') .attr('class', 'fabric')
let pctHandleVert = options.pctHandleVert let pctHandleVert = options.pctHandleVert
let handleWidth = options.handleWidth let handleWidth = options.width * options.handleWidth
let handleSpace = (h - handleWidth * 2) * (options.pctHandleSpace / 100) let handleSpace = (h - handleWidth * 2) * (options.pctHandleSpace / 100)
if (handleSpace > options.maxHandleSpaceWidth) { if (handleSpace > options.maxHandleSpaceWidth) {
handleSpace = options.maxHandleSpaceWidth handleSpace = options.maxHandleSpaceWidth