mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
small fixes
This commit is contained in:
parent
b0170ef671
commit
90aebecc5b
@ -1552,7 +1552,7 @@ void WSRequestHandler::HandleSetSceneItemProperties(WSRequestHandler* req) {
|
||||
if (obs_data_has_user_value(req_position, "alignment")) {
|
||||
const uint32_t alignment = obs_data_get_int(req_position, "alignment");
|
||||
if (Utils::IsValidAlignment(alignment)) {
|
||||
obs_sceneitem_set_alignment(alignment);
|
||||
obs_sceneitem_set_alignment(scene_item, alignment);
|
||||
}
|
||||
// Send an error in the else statement?
|
||||
// Append an error message to the response?
|
||||
|
Loading…
x
Reference in New Issue
Block a user