diff --git a/src/ClaudeDo.Ui/Views/Islands/TasksIslandView.axaml.cs b/src/ClaudeDo.Ui/Views/Islands/TasksIslandView.axaml.cs index 9f53c8d..3137855 100644 --- a/src/ClaudeDo.Ui/Views/Islands/TasksIslandView.axaml.cs +++ b/src/ClaudeDo.Ui/Views/Islands/TasksIslandView.axaml.cs @@ -15,8 +15,6 @@ public partial class TasksIslandView : UserControl public TasksIslandView() { InitializeComponent(); - // Tunnel handler runs BEFORE Button's class handler so we can start a drag - // without the Button first marking the event as handled. AddHandler(PointerPressedEvent, OnTunnelPointerPressed, RoutingStrategies.Tunnel); DataContextChanged += (_, _) => { @@ -27,14 +25,25 @@ public partial class TasksIslandView : UserControl private async void OnTunnelPointerPressed(object? sender, PointerPressedEventArgs e) { - if (DataContext is not TasksIslandViewModel vm || !vm.CanReorder) return; + if (DataContext is not TasksIslandViewModel vm) return; if (e.Source is not Visual src) return; var button = src as Button ?? src.FindAncestorOfType