- Updated `splitSentences` function in `common.ts` to replace lookbehind regex with a compatible approach for older browsers.
- Modified `getSelectionSentence` function in `mouseEvent.ts` to similarly avoid lookbehind, ensuring better compatibility across different environments.
- Added a condition to prevent default scroll behavior during reading aid mode when in scroll reader mode.
- Ensured that preventDefault is called before lock checks to avoid animation frame drops caused by native scrolling.
- Updated the ContentList component to use a more descriptive class name for the chapter title span.
- Modified the scrollContents utility function to target the new class name for better maintainability.
- 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.
- 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.
- Updated icomoon font files (eot, svg, ttf, woff) to include a new report icon.
- Modified style.css to define the new report icon with the unicode "\1f321".
- Refactored PopupAssist component to replace SVG icon with the new report icon class.
- Updated Swedish, Tamil, Thai, Tagalog, Turkish, Ukrainian, Vietnamese, Chinese (Simplified and Traditional) localization files.
- Added translations for features such as reading ruler, speed reading, ISBN, ratings, member login, and more.
- Included security warnings for custom plugins and instructions for importing notes and highlights.
- Enhanced user experience with additional prompts and settings related to book management and app functionality.
- Increased the delay in the TextToSpeech component from 10 to 20 milliseconds for improved performance.
- Added console logging in the Header component to track the 'reading-finished' event and the execution of the handleFinishReading method, aiding in debugging and monitoring sync behavior after reading completion.
- Replaced isPreventScroll function with isReadingAidMode check in arrowKeys and bindHtmlEvent functions.
- This change simplifies the logic for determining when to prevent scrolling in reading modes.
- Increased margin-right in ContentList component for better spacing.
- Adjusted width in contentList.css for improved layout consistency.
- Modified margin-top in contentList.css for better alignment.
- Updated class names in BackgroundSetting component to include 'background-apple-button' for styling consistency across buttons.
- Added new localization string for "Reading ruler height" in zh-CN.json.
- Updated the title in the reading ruler slider configuration from "Line height" to "Reading ruler height" for better clarity.
- Changed default value of reading ruler background opacity from 0.5 to 0.6 in settingSwitch component.
- Updated initial state for reading ruler background opacity to 0.6 in sliderList component.
- Modified viewer component to parse reading ruler background opacity as 0.6.