Update ui:button to clearly show colored buttons can't have titles

Kevin Harrison 2018-12-13 19:01:34 -05:00
parent d852343700
commit befa1e8e28

@ -379,7 +379,8 @@ Show an image.
See [LÖVE Image](https://love2d.org/wiki/Image). See [LÖVE Image](https://love2d.org/wiki/Image).
#### activated = ui:button(title) #### activated = ui:button(title)
#### activated = ui:button(title, [color](#colors)/[symbol](#symbols)/image) #### activated = ui:button(title, [symbol](#symbols)/image)
#### activated = ui:button(nil, [color](#colors))
Add a button with a title and/or a [color](#colors), [symbol](#symbols), or image. Add a button with a title and/or a [color](#colors), [symbol](#symbols), or image.
Return `true` if activated, and `false` otherwise. Return `true` if activated, and `false` otherwise.