File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,17 @@ import { Message } from './Message';
1414export interface IAnnotationProps {
1515 itemId : string ;
1616 annotationModel : IAnnotationModel ;
17- rightPanelModel ?: IJupyterGISModel ;
17+ jgisModel ?: IJupyterGISModel ;
1818 children ?: JSX . Element [ ] | JSX . Element ;
1919}
2020
2121const Annotation : React . FC < IAnnotationProps > = ( {
2222 itemId,
2323 annotationModel,
24- rightPanelModel ,
24+ jgisModel ,
2525 children,
2626} ) => {
2727 const [ messageContent , setMessageContent ] = useState ( '' ) ;
28- const jgisModel = rightPanelModel ;
2928 const annotation = annotationModel . getAnnotation ( itemId ) ;
3029 const contents = useMemo ( ( ) => annotation ?. contents ?? [ ] , [ annotation ] ) ;
3130
@@ -87,7 +86,7 @@ const Annotation: React.FC<IAnnotationProps> = ({
8786 < Button className = "jp-mod-styled jp-mod-warn" onClick = { handleDelete } >
8887 < FontAwesomeIcon icon = { faTrash } />
8988 </ Button >
90- { rightPanelModel && (
89+ { jgisModel && (
9190 < Button
9291 className = "jp-mod-styled jp-mod-accept"
9392 onClick = { centerOnAnnotation }
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export class AnnotationsPanel extends Component<IAnnotationPanelProps> {
3434 return (
3535 < div >
3636 < Annotation
37- rightPanelModel = { this . _jgisModel }
37+ jgisModel = { this . _jgisModel }
3838 annotationModel = { this . _annotationModel }
3939 itemId = { id }
4040 />
Original file line number Diff line number Diff line change 6060 outline : none;
6161 width : 100% ;
6262 overflow-y : scroll;
63- max-height : 600 px ;
63+ max-height : 480 px ;
6464}
6565
6666.jgis-tabs-content : focus-visible {
You can’t perform that action at this time.
0 commit comments