Skip to content

Comments

Event driven cursor visibility#43

Open
sebastienwood wants to merge 2 commits intoThe-DevBlog:masterfrom
sebastienwood:patch-1
Open

Event driven cursor visibility#43
sebastienwood wants to merge 2 commits intoThe-DevBlog:masterfrom
sebastienwood:patch-1

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