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 806162c commit d0ab9aaCopy full SHA for d0ab9aa
arcade/draw/rect.py
@@ -48,7 +48,7 @@ def draw_texture_rect(
48
49
geometry = ctx.geometry_empty
50
program = ctx.sprite_program_single
51
- program["pos"] = rect.center_x, rect.center_y, 0
+ program["pos"] = rect.x, rect.y, 0
52
program["color"] = color.normalized
53
program["size"] = rect.width, rect.height
54
program["angle"] = angle
0 commit comments