mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
5s
This commit is contained in:
parent
b14ad92b91
commit
38a31b7492
@ -400,7 +400,7 @@ export class FileViewerPhotoSwipe {
|
||||
private autoHideIfInactive() {
|
||||
if (this.lastActivityDate == "already-hidden") return;
|
||||
if (this.lastActivityDate == "auto-hidden") return;
|
||||
if (Date.now() - this.lastActivityDate.getTime() > 3000) {
|
||||
if (Date.now() - this.lastActivityDate.getTime() > 5000 /* 5s */) {
|
||||
if (this.areUIControlsVisible()) {
|
||||
this.hideUIControlsIfNotFocused();
|
||||
this.lastActivityDate = "auto-hidden";
|
||||
|
Loading…
x
Reference in New Issue
Block a user