Bug Report
Actual behavior:
arcade.gui.Surface.draw_texture has following incorrect behavior:
- The check for
angle uses x and y arguments - The check for
alpha uses x and y arguments
| ifisinstance(tex, NinePatchTexture): |
| ifx!=0ory!=0: |
| raiseValueError("Ninepatch does not support a position != (0,0) yet") |
| |
| ifx!=0ory!=0: |
| raiseValueError("Ninepatch does not support a angle != 0 yet") |
| |
| ifx!=0ory!=0: |
| raiseValueError("Ninepatch does not support a alpha != 255 yet") |
| |
| tex.draw_sized(size=(width, height)) |
Expected behavior:
- The angle check uses the
angle argument - The alpha check uses the
alpha argument
Bug Report
Actual behavior:
arcade.gui.Surface.draw_texturehas following incorrect behavior:angleusesxandyargumentsalphausesxandyargumentsarcade/arcade/gui/surface.py
Lines 100 to 110 in e76f345
Expected behavior:
angleargumentalphaargument