Skip to content

Commit

Permalink
Change cursor in winning state
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed Jul 10, 2024
1 parent 834fe1c commit 9918e1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@ fn mouse_cursor_system(

window.cursor.icon = match *interaction_state {
InteractionState::WaitForAI => CursorIcon::Progress,
InteractionState::Winner(_) => CursorIcon::Default,
_ => CursorIcon::Pointer,
};

Expand Down

0 comments on commit 9918e1e

Please sign in to comment.