From a7c93c76780ee99952656cb02c1e619d5e0f289c Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Tue, 24 May 2022 21:51:45 +1000
Subject: Fix compound-image sub-image misalignment

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

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

diff --git a/src/components/Tile.vue b/src/components/Tile.vue
index df5c024..021db32 100644
--- a/src/components/Tile.vue
+++ b/src/components/Tile.vue
@@ -429,7 +429,7 @@ export default defineComponent({
 				backgroundSize: '125%',
 				borderRadius: 'inherit',
 				clipPath: idx == 0 ? 'polygon(0 0, 100% 0, 0 100%)' : 'polygon(100% 0, 0 100%, 100% 100%)',
-				backgroundPosition: idx == 0 ? `${-w/4}px ${-h/4}px` : `${w/4}px ${h/4}px`,
+				backgroundPosition: idx == 0 ? `${-w/4}px ${-h/4}px` : '0px 0px',
 			};
 		},
 		onTransitionEnd(evt: Event){
-- 
cgit v1.2.3

