Skip to content

Conversation

@Kyran-art
Copy link
Contributor

This will now run.

The drag n drop fixes from my previous PR were unintentionally included and not tested.

Toggle mouse passthrough now uses CursorOptions component instead of window.cursor.
fix: `get_single_mut()` to `single_mut()`
Changed test `UserSession` window_dims from float to u32
src/utils.rs Outdated
pub fn toggle_window_passthrough(
keyboard_input: Res<ButtonInput<KeyCode>>,
mut windows: Query<&mut Window>,
mut windows: Query<(&mut Window, &mut CursorOptions)>, // Query both!
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redundant comment

src/utils.rs Outdated
cursor_options.hit_test = !cursor_options.hit_test;

info!(
"PASSTHROUGH TOGGLED → hit_test: {} | decorations: {:?}",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

? probs better to use : as it's more widely supported, these extended glyph/chars etc are not supported by all fonts.

Copy link
Owner

@alphastrata alphastrata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, just the same comment and ? that need removing

@alphastrata alphastrata added the bug Something isn't working label Nov 21, 2025
@alphastrata alphastrata merged commit b8e400d into alphastrata:main Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants