Skip to content
Snippets Groups Projects

Manifest side to side

2 unresolved threads
1 file
+ 4
2
Compare changes
  • Side-by-side
  • Inline
@@ -6,8 +6,8 @@ import MenuList from '@material-ui/core/MenuList';
@@ -6,8 +6,8 @@ import MenuList from '@material-ui/core/MenuList';
import MenuItem from '@material-ui/core/MenuItem';
import MenuItem from '@material-ui/core/MenuItem';
import ListItemText from '@material-ui/core/ListItemText';
import ListItemText from '@material-ui/core/ListItemText';
import Typography from '@material-ui/core/Typography';
import Typography from '@material-ui/core/Typography';
import { ScrollTo } from './ScrollTo';
import SanitizedHtml from '../containers/SanitizedHtml';
import SanitizedHtml from '../containers/SanitizedHtml';
 
import { ScrollTo } from './ScrollTo';
import AnnotationManifestsAccordion from '../containers/AnnotationManifestsAccordion';
import AnnotationManifestsAccordion from '../containers/AnnotationManifestsAccordion';
/**
/**
@@ -43,0+43,0 @@
@@ -43,0+43,0 @@
/** */
/** */
handleAnnotationHover(annotation) {
handleAnnotationHover(annotation) {
const { hoverAnnotation, windowId } = this.props;
const { hoverAnnotation, windowId } = this.props;
 
hoverAnnotation(windowId, [annotation.id]);
hoverAnnotation(windowId, [annotation.id]);
}
}
/** */
/** */
handleAnnotationBlur() {
handleAnnotationBlur() {
const { hoverAnnotation, windowId } = this.props;
const { hoverAnnotation, windowId } = this.props;
 
hoverAnnotation(windowId, []);
hoverAnnotation(windowId, []);
}
}
@@ -57,8 +59,8 @@ export class CanvasAnnotations extends Component {
@@ -57,8 +59,8 @@ export class CanvasAnnotations extends Component {
*/
*/
render() {
render() {
const {
const {
listContainerComponent, htmlSanitizationRuleSet, hoveredAnnotationIds,
annotations, autoScroll, classes, index, label, selectedAnnotationId, t, totalSize,
annotations, autoScroll, classes, index, label, selectedAnnotationId, t, totalSize,
 
listContainerComponent, htmlSanitizationRuleSet, hoveredAnnotationIds,
containerRef,
containerRef,
} = this.props;
} = this.props;
if (annotations.length === 0) return null;
if (annotations.length === 0) return null;
Loading