fix: PDF finger ink, chrome UX, OneNote pens, and pen physics
Some checks failed
CI / Windows build (push) Has been cancelled
Some checks failed
CI / Windows build (push) Has been cancelled
Wire finger drawing on PDF without breaking pinch; auto-hide page scrubber and fix bounce; share sticky tools with resize and per-page remember; side-button select; separate pen slots with colors; rnote pressure shapes plus tip-velocity width and lower stroke latency. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -218,11 +218,20 @@ class _MemberTile extends StatelessWidget {
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
subtitle: Text(member.kind.name.toUpperCase()),
|
||||
subtitle: Text(_kindLabel(member.kind)),
|
||||
trailing: const Icon(Icons.chevron_right),
|
||||
onTap: onTap,
|
||||
);
|
||||
}
|
||||
|
||||
String _kindLabel(NotebookMemberKind kind) => switch (kind) {
|
||||
NotebookMemberKind.note => '空白页 · 手写',
|
||||
NotebookMemberKind.pdf => 'PDF · 批注',
|
||||
NotebookMemberKind.pptx => 'PPTX · 幻灯片',
|
||||
NotebookMemberKind.ppt => 'PPT · 幻灯片',
|
||||
NotebookMemberKind.docx => 'DOCX · 文档',
|
||||
};
|
||||
|
||||
IconData _iconFor(NotebookMemberKind kind) => switch (kind) {
|
||||
NotebookMemberKind.note => Icons.edit_note,
|
||||
NotebookMemberKind.pdf => Icons.picture_as_pdf,
|
||||
|
||||
Reference in New Issue
Block a user