From 5451bbadf15150dd558b83a3d934073f3d9181e0 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Sat, 26 Mar 2022 19:50:04 +1100
Subject: Make auto-mode current-node-based, with focus indication

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

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

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

