How to Keep Context Menu from Opening If Mouse Moved
Posted: 01 Oct 2025, 21:38
I have a situation where holding down the right mouse button and moving the mouse effectively is panning a map on the screen. I want to have a context menu appear on right click but only if the map wasn't moved. It appears that the default Noesis context menu is opened when the right mouse button is released, how do I keep the context menu from opening when the right mouse is released if the mouse position is different from where it was when it was pressed?