From 9f6598dcbf267d2fd330f98f7fc3a186f909aee3 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Wed, 23 Mar 2022 18:13:40 +1100
Subject: Simplify non-leaf tile shadow handling

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

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

diff --git a/src/components/TileImg.vue b/src/components/TileImg.vue
index c03ba84..79a8e7b 100644
--- a/src/components/TileImg.vue
+++ b/src/components/TileImg.vue
@@ -22,12 +22,12 @@ export default defineComponent({
 				border: '1px black solid',
 				width: this.tileSz + 'px',
 				height: this.tileSz + 'px',
-				backgroundImage: 
+				backgroundImage:
 					'linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0) 40%),' +
 					'url(\'/img/' + this.layoutNode.tolNode.name.replaceAll('\'', '\\\'') + '.png\')',
 				backgroundSize: 'cover',
 				borderRadius: this.options.borderRadius + 'px',
-				boxShadow: (this.highlight ? this.options.shadowHighlight : this.options.shadowNormal),
+				boxShadow: this.highlight ? this.options.shadowHighlight : this.options.shadowNormal,
 			};
 		},
 		headerStyles(): Record<string,string> {
-- 
cgit v1.2.3

