diff --git a/Documentation.md b/Documentation.md index 2f60700..b7107fd 100644 --- a/Documentation.md +++ b/Documentation.md @@ -482,7 +482,7 @@ Return `true` if the widget was just clicked by the given mouse button ('left'/' #### hasClick = nk.widgetHasMouseClick() #### hasClick = nk.widgetHasMouseClick(button) #### hasClick = nk.widgetHasMouseClick(button, down) -Returns `true` if the given mouse button is in the given state on the current widget, and `false` otherwise. `button` defaults to 'left', and `down` defaults to `true`. +`button` defaults to 'left', and `down` defaults to `true`. If `down` is `true`, return `true` if the mouse was pressed down on the current widget and is still being held down. If `down` is `false`, return `true` if the mouse was released on the current widget and has not since been pressed down. #### nk.spacing(cols) Empty space taking up the given number of columns.