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
GitLab 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
Merge requests
!23
get canvasIIIF
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Open
get canvasIIIF
get_setter_canvasSizeInformations
into
mui5-annotation-on-video-stable
Overview
0
Commits
3
Pipelines
1
Changes
2
Open
get canvasIIIF
Antoine Roy
requested to merge
get_setter_canvasSizeInformations
into
mui5-annotation-on-video-stable
Jan 24, 2024
Overview
0
Commits
3
Pipelines
1
Changes
2
0
0
Merge request reports
Compare
mui5-annotation-on-video-stable
version 2
93d8821a
Jan 24, 2024
version 1
93d8821a
Jan 24, 2024
mui5-annotation-on-video-stable (HEAD)
and
latest version
latest version
93d8821a
3 commits,
Jan 25, 2024
version 2
93d8821a
2 commits,
Jan 24, 2024
version 1
93d8821a
2 commits,
Jan 24, 2024
2 files
+
31
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
src/components/AnnotationsOverlayVideo.js
+
14
−
0
View file @ 090cbf47
Edit in single-file editor
Open in Web IDE
Show full file
@@ -93,6 +93,12 @@ export class AnnotationsOverlayVideo extends Component {
this
.
state
=
{
showProgress
:
false
,
canvasSize
:
{
canvasHeight
:
0
,
canvasWidth
:
0
,
containerHeight
:
0
,
containerWidth
:
0
,
}
};
}
@@ -494,9 +500,17 @@ export class AnnotationsOverlayVideo extends Component {
/** */
canvasUpdateCallback
()
{
return
()
=>
{
const
{
windowId
}
=
this
.
props
this
.
canvasOverlay
.
clear
();
this
.
canvasOverlay
.
resize
();
this
.
canvasOverlay
.
canvasUpdate
(
this
.
renderAnnotations
.
bind
(
this
));
this
.
setState
({
canvasSize
:
{
canvasHeight
:
this
.
canvasOverlay
.
canvasHeight
,
canvasWidth
:
this
.
canvasOverlay
.
canvasWidth
,
containerHeight
:
this
.
canvasOverlay
.
containerHeight
,
containerWidth
:
this
.
canvasOverlay
.
containerWidth
,
}})
VideosReferences
.
setCanvasSizeInformation
(
windowId
,
this
);
};
}
Loading