This commit is contained in:
Timur Ercan
2023-03-09 18:36:36 +01:00
parent f058400d24
commit fd123f0ba2
3 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ export default function PDFViewer(props) {
{Array.from({ length: numPages }, (_, index) => (
<Fragment key={short.generate().toString()}>
<div
onMouseDown={(e) => {
onMouseDown={(e: any) => {
if (e.button === 0) props.onMouseDown(e, index);
}}
onMouseUp={(e) => {