aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-08-27 21:57:43 -0400
committerbobzel <zzzman@gmail.com>2024-08-27 21:57:43 -0400
commit9776e4584b61d3c67622d8ea1f2338a7dfbe857d (patch)
treea71461990ec9fdef8878b3fb664bb77974be06d3
parente2a1db72c103b7ed878fe876c5fb9eacc7a8c893 (diff)
fixed type
-rw-r--r--src/client/views/pdf/Annotation.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/pdf/Annotation.tsx b/src/client/views/pdf/Annotation.tsx
index 3bd42873c..1891cfd4c 100644
--- a/src/client/views/pdf/Annotation.tsx
+++ b/src/client/views/pdf/Annotation.tsx
@@ -13,6 +13,7 @@ import { FieldViewProps } from '../nodes/FieldView';
import { OpenWhere } from '../nodes/OpenWhere';
import { AnchorMenu } from './AnchorMenu';
import './Annotation.scss';
+import { Property } from 'csstype';
interface IRegionAnnotationProps {
x: number;
@@ -45,7 +46,7 @@ interface IAnnotationProps extends FieldViewProps {
annoDoc: Doc;
containerDataDoc: Doc;
fieldKey: string;
- pointerEvents?: () => Opt<string>;
+ pointerEvents?: () => Opt<Property.PointerEvents>;
}
@observer
export class Annotation extends ObservableReactComponent<IAnnotationProps> {