-
- Downloads
fix: Improved camera capture functionality and UI responsiveness
- camera-capture.mjs - Added a private full-screen symbol to manage full-screen states and errors more effectively. - Streamlined the camera initialization process by ensuring the stream is stopped before fetching devices. This prevents excess resource usage. - Updated the camera selection dropdown to only show if there are available devices and made styling adjustments for better presentation. - camera-capture.pcss - Adjusted the positioning of the full-screen element to sit more comfortably in the UI by changing top spacing from 2rem to 1rem for better alignment. - camera-capture.mjs (stylesheet) - Reformatted import statements and simplified rule insertions for clarity and maintainability, promoting cleaner code practices. These changes enhance user experience by preventing unnecessary resource use, improving UI layout, and ensuring that errors are handled gracefully.
Showing
- source/components/content/camera-capture.mjs 58 additions, 31 deletionssource/components/content/camera-capture.mjs
- source/components/content/style/camera-capture.pcss 2 additions, 2 deletionssource/components/content/style/camera-capture.pcss
- source/components/content/stylesheet/camera-capture.mjs 7 additions, 14 deletionssource/components/content/stylesheet/camera-capture.mjs
Loading
Please register or sign in to comment