Merge pull request #705 from Palakis/fix/addsceneitem-docs

Docs: Properly mark `setVisible` as optional
This commit is contained in:
Stéphane Lepin
2021-04-18 21:53:01 +02:00
committed by GitHub

View File

@ -652,7 +652,7 @@ RpcResponse WSRequestHandler::DeleteSceneItem(const RpcRequest& request) {
* *
* @param {String} `sceneName` Name of the scene to create the scene item in * @param {String} `sceneName` Name of the scene to create the scene item in
* @param {String} `sourceName` Name of the source to be added * @param {String} `sourceName` Name of the source to be added
* @param {boolean} `setVisible` Whether to make the sceneitem visible on creation or not. Default `true` * @param {boolean (optional)} `setVisible` Whether to make the sceneitem visible on creation or not. Default `true`
* *
* @return {int} `itemId` Numerical ID of the created scene item * @return {int} `itemId` Numerical ID of the created scene item
* *