From dacc1b2e8fe4b7971304116fce54b3757d37d164 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Sat, 26 Mar 2022 12:22:12 +1100
Subject: Highlight search result

---
 src/components/TileImg.vue | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/components/TileImg.vue')

diff --git a/src/components/TileImg.vue b/src/components/TileImg.vue
index 1d83b37..1eb056a 100644
--- a/src/components/TileImg.vue
+++ b/src/components/TileImg.vue
@@ -35,7 +35,8 @@ export default defineComponent({
 				flexDirection: 'column',
 				// Other
 				borderRadius: this.options.borderRadius + 'px',
-				boxShadow: this.highlight ? this.options.shadowHighlight : this.options.shadowNormal,
+				boxShadow: this.highlight ? this.options.shadowHighlight :
+					(this.layoutNode.searchResult ? this.options.shadowSearchResult : this.options.shadowNormal),
 			};
 		},
 		headerStyles(): Record<string,string> {
-- 
cgit v1.2.3

