UI, libobs: Add ability to lock individual scene items
Adds a lock checkbox to allow the user to lock a specific scene item. Closes jp9000/obs-studio#949
This commit is contained in:
parent
5c2328cca2
commit
fce078d997
13 changed files with 144 additions and 0 deletions
|
|
@ -5004,6 +5004,9 @@ void OBSBasic::Nudge(int dist, MoveDir dir)
|
|||
|
||||
auto func = [] (obs_scene_t*, obs_sceneitem_t *item, void *param)
|
||||
{
|
||||
if (obs_sceneitem_locked(item))
|
||||
return true;
|
||||
|
||||
MoveInfo *info = reinterpret_cast<MoveInfo*>(param);
|
||||
struct vec2 dir;
|
||||
struct vec2 pos;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue