Skip showing the info menu if the RMB is bound.

This commit is contained in:
The Dax 2014-01-31 00:23:02 -05:00
parent 432a43f423
commit 910abacb3f

View File

@ -106,7 +106,7 @@ public:
}
} else if (hovering_ && key.deviceId == DEVICE_ID_MOUSE && key.keyCode == NKCODE_EXT_MOUSEBUTTON_2) {
// If it's the right mouse button, and it's not otherwise mapped, show the info also.
if (key.flags & KEY_UP) {
if (HasFocus() && (key.flags & KEY_UP)) {
showInfo = true;
}
}