Skip to content

Commit

Permalink
Fixes X position issue for hero type on scrolling
Browse files Browse the repository at this point in the history
Signed-off-by: Suresh Kumar Gangumalla <[email protected]>
  • Loading branch information
suresh-gangumalla committed Feb 27, 2024
1 parent 52b606e commit bbdbc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TmdbRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit bbdbc75

Please sign in to comment.