Industry Compat Keymap: Accept Knife tool with double-click

Suggested by users on Devtalk
This commit is contained in:
William Reynish 2019-05-06 15:03:40 +02:00
parent 6a0c31af8a
commit a23647e51b
1 changed files with 2 additions and 2 deletions

View File

@ -3400,10 +3400,10 @@ def km_knife_tool_modal_map(_params):
items.extend([
("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
("PANNING", {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True}, None),
("ADD_CUT", {"type": 'LEFTMOUSE', "value": 'ANY', "any": True}, None),
("CONFIRM", {"type": 'RET', "value": 'PRESS', "any": True}, None),
("CONFIRM", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "any": True}, None),
("CONFIRM", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK', "any": True}, None),
("CONFIRM", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK', "any": False}, None),
("ADD_CUT", {"type": 'LEFTMOUSE', "value": 'ANY', "any": False}, None),
("NEW_CUT", {"type": 'E', "value": 'PRESS'}, None),
("SNAP_MIDPOINTS_ON", {"type": 'LEFT_CTRL', "value": 'PRESS', "any": True}, None),
("SNAP_MIDPOINTS_OFF", {"type": 'LEFT_CTRL', "value": 'RELEASE', "any": True}, None),