Skip to content

Let left-click canvas panning work - #82

Open
r4stered wants to merge 1 commit into
Fattorino:masterfrom
r4stered:fix/left-click-pan
Open

Let left-click canvas panning work#82
r4stered wants to merge 1 commit into
Fattorino:masterfrom
r4stered:fix/left-click-pan

Conversation

@r4stered

Copy link
Copy Markdown

Fixes #80

src/context_wrapper.h + include/ImNodeFlow.h. Purely additive for anyone on the default middle-button pan: block_scroll defaults to false, and the MoveId filter can only change behaviour while the left button is held, which the default pan never looks at.

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.

scroll_button = ImGuiMouseButton_Leftnever pans. IsAnyItemActive() is a false positive on MoveId

1 participant