Commit Graph
9 Commits
Author SHA1 Message Date
troyeguo 0bf027851a Add Quick Erase feature to Annotation Dialog
- Added "Quick erase" option to the English and Chinese locale files.
- Implemented UI components and styles for the Quick Erase toggle in the Annotation Dialog.
- Updated the component state to manage the Quick Erase setting.
- Integrated Quick Erase functionality with the existing annotation configuration.
2026-10-01 11:02:06 +08:00
troyeguo 0955ac9775 feat: refactor eraser width handling and update related styles in AnnotationDialog 2026-10-01 10:41:46 +08:00
troyeguo 35ddc57b6d Add eraser functionality and related UI components
- Introduced "Eraser" and "Eraser size" translations in English and Chinese localization files.
- Updated icon font files to include a new "eraser-line" glyph.
- Modified CSS to accommodate eraser width selection and preview.
- Enhanced the AnnotationDialog component to manage eraser width selection and state.
- Updated the viewer component to retrieve and apply eraser width settings.
- Added ERASER_WIDTHS constant for configurable eraser sizes.
2026-10-01 10:33:51 +08:00
troyeguo 5d9d938535 style(annotationDialog): adjust spacing and icon sizes for improved layout 2026-07-21 17:36:40 +08:00
troyeguo 3927c7d45c feat(annotation): add text annotation features including size, font, and color
- Added new text annotation options in English and Chinese localization files.
- Updated CSS for text size and font selection in the annotation dialog.
- Enhanced the annotation dialog component to handle text size, font, and color selections.
- Introduced new constants for text size limits and color options.
- Refactored existing annotation state management to accommodate new text properties.
2026-07-21 17:26:03 +08:00
troyeguo 379ba9aafb feat(annotation): add shape customization options including type, color, and width 2026-07-21 10:45:56 +08:00
troyeguo 98a2ba9d3d style: update annotation dialog styles for improved layout and appearance
- Removed opacity from labels and adjusted margins for better visibility.
- Enhanced transition properties for color items and tabs for smoother interactions.
- Modified tab height and added padding and border-radius for a more modern look.
- Increased dialog width and height, enabling scroll for better content management.
- Ensured opacity value display takes full width for consistency.
2026-07-21 10:38:43 +08:00
troyeguo 412928723b feat(annotation): add highlighter functionality and opacity control
- Introduced highlighter options including color, width, and opacity in the annotation dialog.
- Updated localization files for English and Chinese to include new terms related to highlighter features.
- Enhanced the annotation dialog UI with tabbed navigation for brush and highlighter styles.
- Refactored state management in the annotation dialog component to accommodate new highlighter properties.
- Added CSS styles for the new tabbed interface and opacity slider.
2026-07-21 10:13:31 +08:00
troyeguo 36b8bf4fbc feat: add annotation feature with customizable brush color and width
- Added new translation keys for "Annotation", "Brush color", and "Brush width" in English and Chinese locale files.
- Implemented AnnotationDialog component for users to select brush color and width for annotations.
- Integrated AnnotationDialog into the Reader component, allowing users to toggle its visibility.
- Updated Redux store to manage the state of the annotation dialog and its visibility.
- Created styles for the annotation dialog to enhance user experience.
2026-07-11 14:16:14 +08:00