diff options
author | Gokul Soumya | 2022-06-27 16:05:07 +0000 |
---|---|---|
committer | GitHub | 2022-06-27 16:05:07 +0000 |
commit | 3108a11d350ab89f827d30664b9c00ca751b6abc (patch) | |
tree | b1716f8ac73a690b2de042580f7527f782f4bbce /runtime/themes/monokai_pro_ristretto.toml | |
parent | 23ce5f1837d34649d1c973d3cd55b7a1a49885b2 (diff) |
Refactor handling of mouse events (#2893)
- Simplified match statements by destructuring MouseEvent struct
at the top and then matching on event.kind.
- Extracted out closures for calculating (1) position and view
of mouse click and (2) gutter coordinates and view of mouse click.
Diffstat (limited to 'runtime/themes/monokai_pro_ristretto.toml')
0 files changed, 0 insertions, 0 deletions