Skip to content
Snippets Groups Projects
Verified Commit 7001b93f authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: Enhanced camera capture and metric components

Summary of changes
- Refactored imports in `camera-capture.mjs` and aligned formatting for consistency.
- Added `setupLazyCameraInit` for a more efficient camera control initialization.
- Updated the `initCameraControl` function to initialize the camera after the component is visible.
- Adjusted default values and element references in `metric.mjs` and `metric-graph.mjs` for improved clarity.
- Maintained consistent naming and alignment across several CSS and JavaScript files to enhance readability.

The reason for these changes is primarily to improve code readability and maintainability while refactoring to ensure better initialization flows and alignment with modern JavaScript practices. This should make the components easier to work with and manage in future development efforts.
parent bd9f69fb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment