Nodes: Allow using escape key to exit node resizing
This commit is contained in:
parent
faa0c7aa6f
commit
f14f81e5ac
@ -1080,6 +1080,10 @@ static int node_resize_modal(bContext *C, wmOperator *op, const wmEvent *event)
|
||||
}
|
||||
break;
|
||||
}
|
||||
case EVT_ESCKEY:
|
||||
node_resize_exit(C, op, true);
|
||||
ED_region_tag_redraw(region);
|
||||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
return OPERATOR_RUNNING_MODAL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user