Skip to content

dont send input to imgui when cursor disabled - #106

Open
GameParrot wants to merge 2 commits into
minecraft-linux:masterfrom
GameParrot:patch-6
Open

GameParrot wants to merge 2 commits into
minecraft-linux:masterfrom
GameParrot:patch-6

Conversation

@GameParrot

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/window_callbacks.cpp
if(hasInputMode(InputMode::Mouse)) {
#ifdef USE_IMGUI
if(ImGui::GetCurrentContext()) {
if(ImGui::GetCurrentContext() && !window.getCursorDisabled()) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This now feels very inconsistent with the other mouse event handling

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