Skip to content

Commit

Permalink
disable fade-out because of accessbility reasons
Browse files Browse the repository at this point in the history
Signed-off-by: szaimen <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Nov 10, 2021
1 parent c6efba1 commit ba827b5
Showing 1 changed file with 1 addition and 2 deletions.
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 ba827b5

Please sign in to comment.