mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #19180 from overleaf/dp-numpad-plus
Add + key to pdf zoom shortcut so that numpad + key works GitOrigin-RevId: 2080c876b7a5c6810ebb170b1451d62158ea2f31
This commit is contained in:
parent
15cdec642d
commit
cba729f2bf
1 changed files with 1 additions and 0 deletions
|
@ -446,6 +446,7 @@ function PdfJsViewer({ url, pdfFile }: PdfJsViewerProps) {
|
|||
}
|
||||
if (event.metaKey || event.ctrlKey) {
|
||||
switch (event.key) {
|
||||
case '+':
|
||||
case '=':
|
||||
event.preventDefault()
|
||||
setZoom('zoom-in')
|
||||
|
|
Loading…
Reference in a new issue