Skip to content

Commit

Permalink
fix: grid download throttling to fix save issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Tormak9970 committed Jun 7, 2023
1 parent d5203aa commit 31fe27c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/core/grids/Grid.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
export let grid: SGDBImage;
let imagePath = grid.thumb.toString();
const onSelect = throttle(() => { AppController.setSteamGridArt(grid.id, grid.url); }, 500);
/**
* Sets this grid to be the current grid for the selected game.
*/
function selectGame() {
// throttle(() => { AppController.setSteamGridArt(grid.id, grid.url); }, 500);
AppController.setSteamGridArt(grid.id, grid.url);
onSelect();
}
</script>

Expand Down

0 comments on commit 31fe27c

Please sign in to comment.