| 1442 | } |
| 1443 | |
| 1444 | void InputBindings::startCapture(ToolMode mode, Action action) { |
| 1445 | capture_state_ = CaptureState{}; |
| 1446 | capture_state_.active = true; |
| 1447 | capture_state_.mode = mode; |
| 1448 | capture_state_.action = action; |
| 1449 | } |
| 1450 | |
| 1451 | void InputBindings::cancelCapture() { |
| 1452 | capture_state_ = CaptureState{}; |
no outgoing calls