Skip showing the info menu if the RMB is bound.

This commit is contained in:
The Dax committed 2014-01-31 00:48:25 -05:00
1 parent 432a43f423
commit 910abacb3f
1 file changed
+1 -1
+1 -1
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;
}
}