book-reader/app/src/main/java/com/aryan/reader/pdf
Aryan b47b6a9164
Added stylus-only mode for PDF drawing and annotations. (#27)
This change introduces a "Stylus Only Mode" toggle in the annotation dock, allowing users to restrict drawing input to stylus pens while maintaining touch support for scrolling and navigation.

Key changes include:
- Added `isStylusOnlyMode` state and persistence logic in `PdfViewerScreen`.
- Updated `AnnotationDock` with a toggle button for the new mode.
- Modified pointer input handling in `PdfPageComposable` and `PdfVerticalReader` to filter touch events when stylus-only mode is active.
- Adjusted tap gesture detection to ensure scrolling and page clicks still function correctly under various input modes.
2026-03-04 13:18:26 +05:30
..
data Update readme (#3) 2026-02-25 21:30:28 +05:30
AnnotationDock.kt Added stylus-only mode for PDF drawing and annotations. (#27) 2026-03-04 13:18:26 +05:30
DemoAnnotationGenerator.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
MagnifierComposable.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
OcrModels.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
PdfCoverGenerator.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
PdfExporter.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
PdfHelper.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
PdfPageComposable.kt Added stylus-only mode for PDF drawing and annotations. (#27) 2026-03-04 13:18:26 +05:30
PdfTextBox.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
PdfVerticalReader.kt Added stylus-only mode for PDF drawing and annotations. (#27) 2026-03-04 13:18:26 +05:30
PdfViewerScreen.kt Added stylus-only mode for PDF drawing and annotations. (#27) 2026-03-04 13:18:26 +05:30
PenIcons.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
RichTextSystem.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
SvgToAnnotationConverter.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
TextAnnotationDock.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
ToolSettingsPopup.kt Update readme (#3) 2026-02-25 21:30:28 +05:30