Nelarius / imnodes

A small, dependency-free node editor for dear imgui
MIT License
2.07k stars 254 forks source link

Box selection triggers when moving the ImGui window that contains the node editor #7

Closed neverhood311 closed 4 years ago

neverhood311 commented 4 years ago

Create a window and put a node editor inside. Run the program. If you click in the window top bar then drag it up and left, a selection box appears inside the node editor. I didn't expect a box selection tool when I clicked and dragged somewhere outside the node editor.

Edit: this also happens if you click and drag somewhere outside the ImGui window. For example, click and drag from just outside the right side of the window up to just above the top of the window. A selection box will appear in the node editor.

Nelarius commented 4 years ago

Nice catch, that's definitely not intended.