mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-03 05:46:26 -05:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user