fix(jaeger): Ignore type difference in buttons option. Fixes #973
This commit is contained in:
parent
9365f36e15
commit
8cc5577896
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue