From befa1e8e28f471af06eb02eae9550b2cbcf94cd2 Mon Sep 17 00:00:00 2001 From: Kevin Harrison Date: Thu, 13 Dec 2018 19:01:34 -0500 Subject: [PATCH] Update ui:button to clearly show colored buttons can't have titles --- Documentation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation.md b/Documentation.md index ce7fb0f..ecfdde3 100644 --- a/Documentation.md +++ b/Documentation.md @@ -379,7 +379,8 @@ Show an image. See [LÖVE Image](https://love2d.org/wiki/Image). #### 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. Return `true` if activated, and `false` otherwise.