- added camera black board fetch and post
- region selector can save settings and painted regions and fetch on load - will add reset all
This commit is contained in:
@@ -98,6 +98,14 @@ export function reducer(state: CameraFeedState, action: CameraFeedAction) {
|
||||
[state.cameraFeedID]: new Map<string, PaintedCell>(),
|
||||
},
|
||||
};
|
||||
case "SET_CAMERA_FEED_DATA":
|
||||
return {
|
||||
...action.cameraState,
|
||||
};
|
||||
case "RESET_CAMERA_FEED":
|
||||
return {
|
||||
...initialState,
|
||||
};
|
||||
|
||||
default:
|
||||
return state;
|
||||
|
||||
Reference in New Issue
Block a user