aboutsummaryrefslogtreecommitdiff
path: root/src/components/TileImg.vue
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-03-26 19:50:04 +1100
committerTerry Truong <terry06890@gmail.com>2022-03-26 19:50:04 +1100
commit5451bbadf15150dd558b83a3d934073f3d9181e0 (patch)
treeb002a4eeab451468c5703599d2acea8f0c063051 /src/components/TileImg.vue
parent273bdade404f6d5315082a80c386daf4a276dbd9 (diff)
Make auto-mode current-node-based, with focus indication
Diffstat (limited to 'src/components/TileImg.vue')
-rw-r--r--src/components/TileImg.vue2
1 files changed, 1 insertions, 1 deletions
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> {