Skip to content

Commit

Permalink
fix draggable
Browse files Browse the repository at this point in the history
Fixes #700
  • Loading branch information
jrmoulton committed Nov 27, 2024
1 parent 9903dcf commit 63908a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/layout/src/draggable_sidebar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pub fn draggable_sidebar_view() -> impl IntoView {
EventPropagation::Continue
});

let view = h_stack((side_bar, dragger, main_window))
let view = h_stack((side_bar, main_window, dragger))
.on_event(EventListener::PointerMove, move |event| {
let pos = match event {
Event::PointerMove(p) => p.pos,
Expand Down

0 comments on commit 63908a3

Please sign in to comment.