Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Frontend
Commits
a5cd6488
Verified
Commit
a5cd6488
authored
3 years ago
by
Erwan Rouchet
Browse files
Options
Downloads
Patches
Plain Diff
Add more zoom levels
parent
52218b46
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1037
Add more zoom levels
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/config.js
+1
-1
1 addition, 1 deletion
js/config.js
with
1 addition
and
1 deletion
js/config.js
+
1
−
1
View file @
a5cd6488
...
...
@@ -84,7 +84,7 @@ export const SEARCH_FILTER_MAX_TERMS = 10
export
const
IMAGE_QUALITY
=
1.5
// Interactive image zoom factor in percent
export
const
ZOOM_FACTORS
=
[
100
,
133
,
166
,
200
,
250
,
350
]
export
const
ZOOM_FACTORS
=
[
100
,
133
,
166
,
200
,
250
,
350
,
400
,
500
]
// Image navigation transitions delay for the zoom and the automatic centering (ms)
export
const
IMAGE_TRANSITIONS
=
300
...
...
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