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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
szaimen authored and nextcloud-command committed Nov 29, 2021
1 parent 9097219 commit 1e34038
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 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.

2 changes: 1 addition & 1 deletion src/views/Viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
v-if="initiated || currentFile.modal"
id="viewer"
:class="{'icon-loading': !currentFile.loaded && !currentFile.failed}"
: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

0 comments on commit 1e34038

Please sign in to comment.