Skip to content

Fix incorrect lrwh function name in arcade.draw_commands #2075

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 27, 2024

Conversation

pushfoo
Copy link
Member

@pushfoo pushfoo commented Apr 25, 2024

TL;DR: draw_lrwh_rectangle_textured should be draw_lbwh_rectangle_textured

Changes

  1. Add new draw_lbwh_rectangle_textured function
    1. Add function itself
    2. Add it to local __all__
    3. Update arcade.__all__
  2. Deprecate draw_lrwh_rectangle_textured
  3. Switch usage:
    1. arcade.gui.surface.Surface
    2. Examples
    3. Tests

pushfoo added 5 commits April 25, 2024 18:52
* Add new method using xywh naming scheme

* Mark old one for removal

* Add to __all_s
* Replace arcade. usage in collect coins bg demo

* Add import + replace arcade. usage in experimental light_demo
@pushfoo pushfoo changed the title Fix nonsense function name in arcade.draw_commands Fix incorrect lrwh function name in arcade.draw_commands Apr 26, 2024
@Cleptomania Cleptomania merged commit 3b98810 into pythonarcade:development Apr 27, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants