-
![Thumbnail]()
+
diff --git a/src/app/components/unified-file-card/unified-file-card.component.ts b/src/app/components/unified-file-card/unified-file-card.component.ts
index 354d921..9451a9a 100644
--- a/src/app/components/unified-file-card/unified-file-card.component.ts
+++ b/src/app/components/unified-file-card/unified-file-card.component.ts
@@ -36,6 +36,7 @@ export class UnifiedFileCardComponent implements OnInit {
thumbnailBlobURL = null;
streamURL = null;
+ hide_image = false;
// input/output
@Input() loading = true;
@@ -149,6 +150,20 @@ export class UnifiedFileCardComponent implements OnInit {
return fullLocation;
}
+ onMouseOver() {
+ this.elevated = true;
+ setTimeout(() => {
+ if (this.elevated) {
+ this.hide_image = true;
+ }
+ }, 500);
+ }
+
+ onMouseOut() {
+ this.elevated = false;
+ this.hide_image = false;
+ }
+
}
function fancyTimeFormat(time) {