This commit is contained in:
Laura 2017-02-17 16:23:05 +00:00
parent 9c6ca15829
commit 2c0e3d9467

View file

@ -101,7 +101,7 @@ def output_overlay(output=None, overlay=None):
new_output.save(output)
```
# Overlays cycle
## Overlays cycle
This code creates a `cycle`. We use the `next()` function on this cycle when the `next_overlay_btn` is pressed in order to receive the next overlay in the list. A cycle is needed because when the end of the list of overlays is reached, we want to automatically begin again with the first overlay.