Skip to content

Commit

Permalink
Merge pull request #18 from Jupeyy/pr_no_mouse_in_emote_selection
Browse files Browse the repository at this point in the history
Disable cursor in emote selection.
  • Loading branch information
Jupeyy authored Jan 6, 2025
2 parents 78d77d4 + be84abe commit 59ccc4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/client/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2795,8 +2795,7 @@ impl FromNativeImpl for ClientNativeImpl {
}

let player = game.game_data.local.active_local_player();
let show_cursor = player
.is_some_and(|(_, p)| p.emote_wheel_active || p.spectator_selection_active);
let show_cursor = player.is_some_and(|(_, p)| p.spectator_selection_active);
native.toggle_cursor(show_cursor);

self.inp_manager.set_last_known_cursor(
Expand Down

0 comments on commit 59ccc4b

Please sign in to comment.