Skip to content

Fix arrow alignment + capitalization in NinePatchTexture's docstring #1696

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 10 commits into from
Apr 12, 2023
14 changes: 7 additions & 7 deletions arcade/gui/nine_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class NinePatchTexture:

* Numbered regions with arrows (``<--->``) stretch along the
direction(s) of any arrows present
* bars (``|---|``) mark the distances specified by the border
* Bars (``|---|``) mark the distances specified by the border
parameters (``left``, etc)

.. code-block::
Expand All @@ -32,12 +32,12 @@ class NinePatchTexture:
| | <-------------> | | |
+------+-----------------+------+ ---
| (4) | (5) ^ | (6) |
| ^ | | | ^ |
| | | | | | |
| | | <------+------> | | |
| | | | | | |
| | | | | | |
| v | v | v |
| ^ | | | ^ |
| | | | | | |
| | | <------+------> | | |
| | | | | | |
| | | | | | |
| v | v | v |
+------+-----------------+------+ ---
| (7) | (8) | (9) | |
| | <-------------> | | |
Expand Down