I noticed that when using the pygame backend, the colour attribute of draw_text() is ignored and text is always rendered in the foreground color due to this line in pygamescreen.py:
When I change the third argument to colour everything works as expected. It's a tiny change, but I'll make it a pull request anyway to become a little more familiar with Github :wink:
Hi Edwin,
I noticed that when using the pygame backend, the colour attribute of draw_text() is ignored and text is always rendered in the foreground color due to this line in pygamescreen.py:
txtsurf = font.render(lines[lnr], antialias, self.fgc)
When I change the third argument to colour everything works as expected. It's a tiny change, but I'll make it a pull request anyway to become a little more familiar with Github :wink: