Skip to content

Commit

Permalink
Update Game.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Coding0tter committed Sep 4, 2023
1 parent 1ddaee9 commit 1c7444a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Game/Game.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export default function Game() {
<div class={styles.cell}>
<input
ref={(el) => (inputRefs[row][cell].current = el)}
readOnly={animation() || currentRow() !== row}
readOnly={animation() || currentRow() !== row || cell <= currentColor().length}
class={
currentRow() !== row
? styles.cell_input +
Expand Down

0 comments on commit 1c7444a

Please sign in to comment.