Removed extra todos

This commit is contained in:
Mikayla Maki 2022-08-19 17:20:54 -07:00
parent c42bf1c50b
commit 3ffe760ed3

View file

@ -501,6 +501,7 @@ impl TerminalEl {
},
);
// Mouse mode handlers:
// All mouse modes need the extra click handlers
if mode.intersects(TermMode::MOUSE_MODE) {
region = region
@ -548,7 +549,7 @@ impl TerminalEl {
//Mouse move manages both dragging and motion events
if mode.intersects(TermMode::MOUSE_DRAG | TermMode::MOUSE_MOTION) {
region = region
//This does not fire on right-mouse-down-move events wild.
//TODO: This does not fire on right-mouse-down-move events.
.on_move(move |event, cx| {
if cx.is_parent_view_focused() {
if let Some(conn_handle) = connection.upgrade(cx.app) {
@ -561,8 +562,6 @@ impl TerminalEl {
})
}
//TODO: Mouse drag isn't correct
//TODO: Nor is mouse motion. Move events aren't happening??
cx.scene.push_mouse_region(region);
}