(&self, e: &mut KeyEvent)
| 84 | } |
| 85 | |
| 86 | fn keyup(&self, e: &mut KeyEvent) { |
| 87 | if let Some(focused) = self.canvas.focused() { |
| 88 | if focused.key_input() { |
| 89 | focused.keyup(e); |
| 90 | } |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | fn textinput(&self, e: &mut TextEvent) { |
| 95 | if let Some(focused) = self.canvas.focused() { |