From bbdbc75f130b5a0a49841032068670a817662c46 Mon Sep 17 00:00:00 2001 From: Suresh Kumar Gangumalla Date: Tue, 27 Feb 2024 10:31:26 +0530 Subject: [PATCH] Fixes X position issue for hero type on scrolling Signed-off-by: Suresh Kumar Gangumalla --- src/components/TmdbRow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TmdbRow.js b/src/components/TmdbRow.js index 8964544..f15618b 100644 --- a/src/components/TmdbRow.js +++ b/src/components/TmdbRow.js @@ -48,7 +48,7 @@ export default Blits.Component('TmdbRow', { }, computed: { x() { - return 150 - Math.min(this.focused, this.items.length - 8) * this.width + return 150 - Math.min(this.focused, this.items.length - 1720 / this.width) * this.width }, }, watch: {