From 890438883e4d593e9eedc74d00d9f250b1e308e0 Mon Sep 17 00:00:00 2001 From: Dongdong Zhou Date: Tue, 11 Jun 2024 19:59:12 +0100 Subject: [PATCH] fix panel picker drag --- lapce-app/src/panel/view.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lapce-app/src/panel/view.rs b/lapce-app/src/panel/view.rs index bbf30664..dcb9b587 100644 --- a/lapce-app/src/panel/view.rs +++ b/lapce-app/src/panel/view.rs @@ -584,7 +584,8 @@ fn panel_picker( }) .style(|s| s.padding(1.0)), label(|| "".to_string()).style(move |s| { - s.absolute() + s.selectable(false) + .absolute() .size_pct(100.0, 100.0) .apply_if(!is_bottom && is_first, |s| s.margin_top(2.0)) .apply_if(!is_bottom && !is_first, |s| s.margin_top(-2.0))