Skip to content

Commit 9999b30

Browse files
committed
docs(scene items): fix documentation for GetSceneItemProperties
Fixes obsproject#607
1 parent 569e968 commit 9999b30

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/WSRequestHandler_SceneItems.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ RpcResponse WSRequestHandler::GetSceneItemList(const RpcRequest& request) {
8787
* @return {int} `itemId` Scene Item ID.
8888
* @return {double} `position.x` The x position of the source from the left.
8989
* @return {double} `position.y` The y position of the source from the top.
90-
* @return {int} `position.alignment` The point on the source that the item is manipulated from.
90+
* @return {int} `position.alignment` The point on the source that the item is manipulated from. The sum of 1=Left or 2=Right, and 4=Top or 8=Bottom, or omit to center on that axis.
9191
* @return {double} `rotation` The clockwise rotation of the item in degrees around the point of alignment.
9292
* @return {double} `scale.x` The x-scale factor of the source.
9393
* @return {double} `scale.y` The y-scale factor of the source.
@@ -106,7 +106,6 @@ RpcResponse WSRequestHandler::GetSceneItemList(const RpcRequest& request) {
106106
* @return {int} `sourceHeight` Base source (without scaling) of the source
107107
* @return {double} `width` Scene item width (base source width multiplied by the horizontal scaling factor)
108108
* @return {double} `height` Scene item height (base source height multiplied by the vertical scaling factor)
109-
* @return {int} `alignment` The point on the source that the item is manipulated from. The sum of 1=Left or 2=Right, and 4=Top or 8=Bottom, or omit to center on that axis.
110109
* @return {String (optional)} `parentGroupName` Name of the item's parent (if this item belongs to a group)
111110
* @return {Array<SceneItemTransform> (optional)} `groupChildren` List of children (if this item is a group)
112111
*

0 commit comments

Comments
 (0)