We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 891926b commit 822e25eCopy full SHA for 822e25e
arcade/draw/rect.py
@@ -60,7 +60,7 @@ def draw_texture_rect(
60
61
geometry = ctx.geometry_empty
62
program = ctx.sprite_program_single
63
- program["pos"] = rect.center_x, rect.center_y, 0
+ program["pos"] = rect.x, rect.y, 0
64
program["color"] = color.normalized
65
program["size"] = rect.width, rect.height
66
program["angle"] = angle
0 commit comments