Skip to content

Commit

Permalink
Merge pull request #16 from steve2072/patch-1
Browse files Browse the repository at this point in the history
Update context.py
  • Loading branch information
fdb committed Feb 9, 2016
2 parents 3582c22 + 46d86cc commit 2c50526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodebox/graphics/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ def rect(x, y, width, height, **kwargs):
fill, stroke, strokewidth, strokestyle = color_mixin(**kwargs)
if fill is not None:
glColor4f(fill[0], fill[1], fill[2], fill[3] * _alpha)
glRectf(x, y, x+width, y+width)
glRectf(x, y, x+width, y+height)

if stroke is not None and strokewidth > 0:
glLineWidth(strokewidth)
Expand Down

0 comments on commit 2c50526

Please sign in to comment.