Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
subugoe
emo
TIDO
Commits
4e5ab3ab
Commit
4e5ab3ab
authored
May 18, 2020
by
schneider210
Browse files
toggle fullscreen icon in osd depending on fullscreen active or not
parent
8c57f599
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
4e5ab3ab
...
...
@@ -5,9 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to
[
Semantic Versioning
](
https://semver.org/spec/v2.0.0.html
)
.
## [Unreleased]
## [0.0.2] - 2020-05-15
### Added
-
Pages deployment on per commit and per branch base
-
openseadragon.vue: Event listener for fullscreen change
### Changed
-
toggle fs icon on fullscreen change
## [0.0.1] - 2020-05-14
### Added
-
This CHANGELOG file
### Added
-
Pages deployment on per commit and per branch base
src/components/openseadragon.vue
View file @
4e5ab3ab
...
...
@@ -24,6 +24,7 @@ import {
fasSearchMinus
,
fasExpand
,
fasExpandArrowsAlt
,
fasCompressArrowsAlt
,
}
from
'
@quasar/extras/fontawesome-v5
'
;
export
default
{
...
...
@@ -58,6 +59,14 @@ export default {
const
viewer
=
new
OpenSeadragon
.
Viewer
(
this
.
options
);
OpenSeadragon
.
setString
(
'
Tooltips.Home
'
,
'
Default View
'
);
OpenSeadragon
.
setString
(
'
Tooltips.FullPage
'
,
'
Toggle Fullscreen
'
);
document
.
addEventListener
(
'
fullscreenchange
'
,
()
=>
{
Object
.
values
(
this
.
buttons
).
forEach
((
v
)
=>
{
if
(
v
.
id
===
'
fullscreen
'
)
{
v
.
svg
=
document
.
fullscreenElement
!==
null
?
fasCompressArrowsAlt
:
fasExpandArrowsAlt
;
}
});
});
},
};
</
script
>
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment