From 63908a3108f8fed51d68d1dbd24b0d0c42d1c77e Mon Sep 17 00:00:00 2001
From: jrmoulton <jaredmoulton3@gmail.com>
Date: Wed, 27 Nov 2024 00:53:17 -0700
Subject: [PATCH] fix draggable

Fixes #700
---
 examples/layout/src/draggable_sidebar.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/layout/src/draggable_sidebar.rs b/examples/layout/src/draggable_sidebar.rs
index 2059f610..7f8739f5 100644
--- a/examples/layout/src/draggable_sidebar.rs
+++ b/examples/layout/src/draggable_sidebar.rs
@@ -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,