mirror of
https://github.com/wez/wezterm.git
synced 2024-11-24 07:46:59 +03:00
ab8c8dc6c9
The idea here is to make it a bit easier to do hit detection for UI elements; today we've been duplicating position math between the render and the mouse movement handlers, with both pieces of code knowing the location of the UI element. UIItem allows the render phase to record the position, which allows the mouse phase to be a more independent lookup against the registered elements. This makes it easier to add more UI elements in the future. |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |