| 731 | } |
| 732 | |
| 733 | bool MidiController::ShouldConsumeKey(int key) |
| 734 | { |
| 735 | return (gHoveredUIControl == nullptr || gHoveredUIControl->GetModuleParent() != this) && |
| 736 | key != 32; //32 = space bar, which is used for panning the canvas |
| 737 | } |
| 738 | |
| 739 | bool MidiController::CanTakeFocus() |
| 740 | { |
no test coverage detected