Skip to content

Commit

Permalink
Fix a bug in actions.lua example
Browse files Browse the repository at this point in the history
Now, line's color alpha is 1 and does get displayed.
  • Loading branch information
sherjilozair authored Mar 15, 2018
1 parent adb1f15 commit 87d2f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ group:action(function()

line.point1 = squares"translate".position2d
line.point2 = ball.center
line.color = 1 - ball.color
line.color = (1 - ball.color){a = 1}
line.thickness = (math.sin(t) + 2) * 4
end)

Expand Down

0 comments on commit 87d2f7f

Please sign in to comment.