Skip to content

Commit f7ac125

Browse files
committed
Revert "Update documentation references for new PlayButtonMode"
This reverts commit a42451f.
1 parent 680c5dc commit f7ac125

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sources/PlayButton.docc/PlayButton.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The button can be usefull if you want to add a playful component to your music/a
1212
1313
## Modes
1414

15-
There are four different modes. To set the mode you use the ``PlayButton/setMode(_:animated:)``. If `animated` is `false` the change occurs without an animation regardless which mode the button is currently in. Setting the mode to ``PlayButtonMode/buffering`` will always start the buffering animation, the `animated` parameter only determines whether the shape first transforms into the horizontal bar. If you set the mode without providing an `animated` parameter, the transition is animated by default.
15+
There are four different modes. To set the mode you use the ``PlayButton/setMode(_:animated:)``. If `animated` is `false` the change occurs without an animation regardless which mode the button is currently in. Setting the mode to ``Mode/buffering`` will always start the buffering animation, the `animated` parameter only determines whether the shape first transforms into the horizontal bar. If you set the mode without providing an `animated` parameter, the transition is animated by default.
1616

1717
| Mode | Description |
1818
| ------------ | ------------------------------------------------------------------- |
@@ -120,10 +120,10 @@ P₃ = (-t+r+c, t/2+c) = (-⅜t+c, t/2+c)
120120
- ``PlayButton/triangleWidth``
121121

122122
### Modes
123-
- ``PlayButton/PlayButtonMode/buffering``
124-
- ``PlayButton/PlayButtonMode/pause``
125-
- ``PlayButton/PlayButtonMode/play``
126-
- ``PlayButton/PlayButtonMode/stop``
123+
- ``PlayButton/Mode/buffering``
124+
- ``PlayButton/Mode/pause``
125+
- ``PlayButton/Mode/play``
126+
- ``PlayButton/Mode/stop``
127127

128128
### Changing Modes
129129

0 commit comments

Comments
 (0)