- 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:
2025-12-08 10:59:46 +00:00
parent 7cda7d5887
commit 1628048ac5
7 changed files with 111 additions and 5 deletions

View File

@@ -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;