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
Merge requests
!23
get canvasIIIF
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
get canvasIIIF
get_setter_canvasSizeInformations
into
mui5-annotation-on-video-stable
Overview
0
Commits
3
Pipelines
1
Changes
2
Open
Antoine Roy
requested to merge
get_setter_canvasSizeInformations
into
mui5-annotation-on-video-stable
1 year ago
Overview
0
Commits
3
Pipelines
1
Changes
2
Expand
0
0
Merge request reports
Compare
mui5-annotation-on-video-stable
version 2
93d8821a
1 year ago
version 1
93d8821a
1 year ago
mui5-annotation-on-video-stable (HEAD)
and
latest version
latest version
93d8821a
3 commits,
1 year ago
version 2
93d8821a
2 commits,
1 year ago
version 1
93d8821a
2 commits,
1 year ago
2 files
+
31
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/components/AnnotationsOverlayVideo.js
+
14
−
0
Options
@@ -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