File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 import Folder from ' ../icons/Folder.svelte' ;
3131 import Document from ' ../icons/Document.svelte' ;
3232 import PenAlt from ' ../icons/PenAlt.svelte' ;
33- import Reset from ' ../icons/Reset.svelte' ;
33+ import ZoomReset from ' ../icons/ZoomReset.svelte' ;
34+
3435 import Spinner from ' ../common/Spinner.svelte' ;
3536 import Tooltip from ' ../common/Tooltip.svelte' ;
3637 import ConfirmDialog from ' ../common/ConfirmDialog.svelte' ;
656657 on:click ={() => filePreviewRef ?.resetImageView ()}
657658 aria-label ={$i18n .t (' Reset view' )}
658659 >
659- <Reset className =" size-3.5" />
660+ <ZoomReset className =" size-3.5" />
660661 </button >
661662 </Tooltip >
662663 {/if }
667668 on:click ={() => filePreviewRef ?.resetPdfView ()}
668669 aria-label ={$i18n .t (' Reset view' )}
669670 >
670- <Reset className =" size-3.5" />
671+ <ZoomReset className =" size-3.5" />
671672 </button >
672673 </Tooltip >
673674 {/if }
Original file line number Diff line number Diff line change 1+ <script lang =" ts" >
2+ export let className = ' size-4' ;
3+ export let strokeWidth = ' 1.5' ;
4+ </script >
5+
6+ <svg
7+ aria-hidden =" true"
8+ xmlns =" http://www.w3.org/2000/svg"
9+ fill =" none"
10+ viewBox =" 0 0 24 24"
11+ stroke-width ={strokeWidth }
12+ stroke =" currentColor"
13+ class ={className }
14+ >
15+ <rect x =" 2" y =" 4" width =" 20" height =" 16" rx =" 3" fill =" none" />
16+ <!-- The "1" -->
17+ <path stroke-linecap =" round" stroke-linejoin =" round" d =" M7.5 9v6M6 10.5l1.5-1.5" />
18+ <!-- The ":" -->
19+ <path stroke-linecap =" round" stroke-linejoin =" round" d =" M12 10.5v.01M12 13.5v.01" stroke-width =" 2" />
20+ <!-- The other "1" -->
21+ <path stroke-linecap =" round" stroke-linejoin =" round" d =" M16.5 9v6M15 10.5l1.5-1.5" />
22+ </svg >
You can’t perform that action at this time.
0 commit comments