diff --git a/crates/app/src/ui/bench_stance.rs b/crates/app/src/ui/bench_stance.rs index 67df429..c80f7e2 100644 --- a/crates/app/src/ui/bench_stance.rs +++ b/crates/app/src/ui/bench_stance.rs @@ -723,6 +723,9 @@ fn lane_row( }, )) .drag_over::(|d, _, _, _| d.bg(rgb(DARK_RAISED()))) + .on_drop(cx.listener(move |this, drag: &SubPick, window, cx| { + this.place_sub(drag.0, lane, window.mouse_position().x, cx); + })) .on_drag_move(cx.listener( move |this, event: &DragMoveEvent, _, cx| { if !event.bounds.contains(&event.event.position) {