Skip to content

Commit

Permalink
Merge pull request #1064 from nextcloud/enh/noid/disable-fad-out
Browse files Browse the repository at this point in the history
disable fade-out because of accessbility reasons
  • Loading branch information
szaimen authored Nov 11, 2021
2 parents 592649d + 2da1411 commit e7c6af6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions js/viewer-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/viewer-main.js.map

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions src/views/Viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
id="viewer"
:class="{'icon-loading': !currentFile.loaded && !currentFile.failed,
'theme--undefined': theme === null, 'theme--dark': theme === 'dark', 'theme--light': theme === 'light', 'theme--default': theme === 'default'}"
:clear-view-delay="(isTesting || isMobile) ? -1 : undefined /* prevent cypress timeouts and disable on mobile, otherwise use default of the modal */"
:clear-view-delay="-1 /* disable fade-out because of accessibility reasons */"
:dark="true"
:enable-slideshow="hasPrevious || hasNext"
:enable-swipe="canSwipe"
Expand Down Expand Up @@ -190,7 +190,6 @@ export default {
isSidebarShown: false,
canSwipe: true,
isStandalone: !(OCA && OCA.Files && 'fileActions' in OCA.Files),
isTesting,
theme: null,
root: getRootPath(),
}
Expand Down

0 comments on commit e7c6af6

Please sign in to comment.