mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 09:39:15 +00:00
Merge pull request #1165 from admshao/audio-source-bounding-box
UI: Don't draw bounding boxes for sources without video flag
This commit is contained in:
commit
acf7d12b7d
|
@ -1105,6 +1105,9 @@ bool OBSBasicPreview::DrawSelectedItem(obs_scene_t *scene,
|
|||
if (obs_sceneitem_locked(item))
|
||||
return true;
|
||||
|
||||
if (!SceneItemHasVideo(item))
|
||||
return true;
|
||||
|
||||
if (!obs_sceneitem_selected(item))
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue