diff --git a/control.cpp b/control.cpp index 80f96701..8c312d85 100644 --- a/control.cpp +++ b/control.cpp @@ -736,6 +736,7 @@ EX void mainloopiter() { mousepan = cmode & sm::NORMAL; if((cmode & (sm::DRAW | sm::MAP)) && !hiliteclick) mousepan = true; + if(cmode & sm::SHOWCURSOR) mousepan = false; mousepan = mousepan && mouseaiming(false) && mouseaim_sensitivity; if(mousepan != oldmousepan) { oldmousepan = mousepan; diff --git a/graph.cpp b/graph.cpp index a1aa8003..9d992a55 100644 --- a/graph.cpp +++ b/graph.cpp @@ -5489,6 +5489,7 @@ namespace sm { static const int EXPANSION = (1<<16); static const int HEXEDIT = (1<<17); static const int VR_MENU = (1<<18); // always show the menu in VR + static const int SHOWCURSOR = (1<<19); // despite MAP/DRAW always show the cursor, no panning } #endif