Skip to content

Commit

Permalink
Remove spurious error
Browse files Browse the repository at this point in the history
  • Loading branch information
jcreedcmu committed Oct 15, 2023
1 parent 2aeb797 commit c74a431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/reduce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function resolveDrag(state: GameState): GameState {
}

case 'up': {
console.warn(`unexpected resolveDrag with up mouse button`);
// no drag to resolve
return produce(state, s => { s.mouseState = { t: 'up', p: ms.p }; });
} break;

Expand Down

0 comments on commit c74a431

Please sign in to comment.