mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-11 07:00:47 +02: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:
@@ -446,6 +446,7 @@ function PdfJsViewer({ url, pdfFile }: PdfJsViewerProps) {
|
||||
}
|
||||
if (event.metaKey || event.ctrlKey) {
|
||||
switch (event.key) {
|
||||
case '+':
|
||||
case '=':
|
||||
event.preventDefault()
|
||||
setZoom('zoom-in')
|
||||
|
||||
Reference in New Issue
Block a user