fix(hortensia): Remove option
This commit is contained in:
parent
102d17b25c
commit
34ee68b5d7
2 changed files with 2 additions and 2 deletions
|
@ -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'] },
|
||||||
},
|
},
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue