Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mirador Video
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
IIIF
Mirador
Mirador Video
Commits
fffa42d1
Commit
fffa42d1
authored
2 years ago
by
Anthony
Browse files
Options
Downloads
Patches
Plain Diff
Undo lint for stay close to main mirador branch
parent
333d28fa
No related branches found
No related tags found
1 merge request
!13
Manifest side to side
Pipeline
#1367
failed
2 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/CanvasAnnotations.js
+4
-2
4 additions, 2 deletions
src/components/CanvasAnnotations.js
with
4 additions
and
2 deletions
src/components/CanvasAnnotations.js
+
4
−
2
View file @
fffa42d1
...
...
@@ -6,8 +6,8 @@ import MenuList from '@material-ui/core/MenuList';
import
MenuItem
from
'
@material-ui/core/MenuItem
'
;
import
ListItemText
from
'
@material-ui/core/ListItemText
'
;
import
Typography
from
'
@material-ui/core/Typography
'
;
import
{
ScrollTo
}
from
'
./ScrollTo
'
;
import
SanitizedHtml
from
'
../containers/SanitizedHtml
'
;
import
{
ScrollTo
}
from
'
./ScrollTo
'
;
import
AnnotationManifestsAccordion
from
'
../containers/AnnotationManifestsAccordion
'
;
/**
...
...
@@ -43,12 +43,14 @@ export class CanvasAnnotations extends Component {
/** */
handleAnnotationHover
(
annotation
)
{
const
{
hoverAnnotation
,
windowId
}
=
this
.
props
;
hoverAnnotation
(
windowId
,
[
annotation
.
id
]);
}
/** */
handleAnnotationBlur
()
{
const
{
hoverAnnotation
,
windowId
}
=
this
.
props
;
hoverAnnotation
(
windowId
,
[]);
}
...
...
@@ -57,8 +59,8 @@ export class CanvasAnnotations extends Component {
*/
render
()
{
const
{
listContainerComponent
,
htmlSanitizationRuleSet
,
hoveredAnnotationIds
,
annotations
,
autoScroll
,
classes
,
index
,
label
,
selectedAnnotationId
,
t
,
totalSize
,
listContainerComponent
,
htmlSanitizationRuleSet
,
hoveredAnnotationIds
,
containerRef
,
}
=
this
.
props
;
if
(
annotations
.
length
===
0
)
return
null
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment