Skip to content

Commit 7fdcfd5

Browse files
committed
Remove render.opacity as it's not valid for constraints
1 parent 58c8efc commit 7fdcfd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/physics/matter-js/World.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1617,7 +1617,7 @@ var World = new Class({
16171617
return this;
16181618
}
16191619

1620-
graphics.lineStyle(lineThickness, lineColor, lineOpacity * render.opacity);
1620+
graphics.lineStyle(lineThickness, lineColor, lineOpacity);
16211621

16221622
var bodyA = constraint.bodyA;
16231623
var bodyB = constraint.bodyB;

0 commit comments

Comments
 (0)