This commit is contained in:
Timur Ercan
2023-03-09 18:37:50 +01:00
parent fd123f0ba2
commit d4f7fea363

View File

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