1
0
Fork 0

fix(jaeger): Ignore type difference in buttons option. Fixes #973

This commit is contained in:
Joost De Cock 2021-05-23 13:17:37 +02:00
parent 9365f36e15
commit 8cc5577896

View file

@ -403,7 +403,7 @@ export default function (part) {
if (options.buttons > 1) { if (options.buttons > 1) {
points.button2 = new Point(points.cfWaist.x, points.cutawayPoint.y) points.button2 = new Point(points.cfWaist.x, points.cutawayPoint.y)
buttons.push('button2') buttons.push('button2')
if (options.buttons === 3) { if (options.buttons == 3) {
points.button3 = points.button1.shiftFractionTowards(points.button2, 0.5) points.button3 = points.button1.shiftFractionTowards(points.button2, 0.5)
buttons.push('button3') buttons.push('button3')
} }