Skip to content

Conversation

sebastienwood
Copy link

Made cursor event driven in order to react to other sources of toggle (menu, ...)

Made cursor event driven in order to react to other sources of toggle (menu, ...)
@sebastienwood sebastienwood changed the title Update lib.rs Event driven cursor visibility Jun 28, 2025
Clarified "lock" instead of visibility

// Ensure there is a single event to process
for event in events.read() {
info!("CursorLockEvent: locked={}", event.locked);

Choose a reason for hiding this comment

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

I'd say this ought to be debug level, I personally hate when plugins force info level prints unless I want them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants