Skip to content

Commit

Permalink
Silence cursor_pos bail warning
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrankel committed Aug 17, 2024
1 parent a3279f5 commit ebcf808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ fn update_tooltip_context(
};
let window = c!(window_query.get(window));
cq!(window.focused);
let cursor_pos = c!(window
let cursor_pos = cq!(window
.cursor_position()
.and_then(|cursor| camera.viewport_to_world_2d(camera_gt, cursor)));

Expand Down

0 comments on commit ebcf808

Please sign in to comment.