Skip to content

Commit

Permalink
Rename Warning sections in docs to Warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
salt-die committed Mar 17, 2024
1 parent c085746 commit ba95e37
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/batgrl/gadgets/text_effects/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
----------
https://github.com/ChrisBuilds/terminaltexteffects
Warning
-------
Warnings
--------
Modifying the text size while effect is running will break the effect.
"""
from .beams import beams_effect
Expand Down
4 changes: 2 additions & 2 deletions src/batgrl/gadgets/text_effects/beams.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ async def beams_effect(text: Text):
text : Text
The text gadget which to run the effect.
Warning
-------
Warnings
--------
Modifying `text` size while effect is running will break the effect.
"""
cover = Text(size=text.size)
Expand Down
4 changes: 2 additions & 2 deletions src/batgrl/gadgets/text_effects/black_hole.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ async def black_hole_effect(text: Text):
text : Text
The text gadget which to run the effect.
Warning
-------
Warnings
--------
Modifying `text` size while effect is running will break the effect.
"""
pos, cells = particle_data_from_canvas(text.canvas)
Expand Down
4 changes: 2 additions & 2 deletions src/batgrl/gadgets/text_effects/ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ async def ring_effect(text: Text):
text : Text
The text gadget which to run the effect.
Warning
-------
Warnings
--------
Modifying `text` size while effect is running will break the effect.
"""
pos, cells = particle_data_from_canvas(text.canvas)
Expand Down
4 changes: 2 additions & 2 deletions src/batgrl/gadgets/text_effects/spotlights.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ async def spotlights_effect(text: Text):
text : Text
The text gadget which to run the effect.
Warning
-------
Warnings
--------
Modifying `text` size while effect is running will break the effect.
"""
cover = Text(size=text.size)
Expand Down

0 comments on commit ba95e37

Please sign in to comment.