From b18dd47ce01e8de5ed50daea3c75bc2d7201ba9a Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Fri, 14 Feb 2025 18:42:56 +0800 Subject: [PATCH] panel: Only highlight resize handle when dragging. (#629) --- crates/ui/src/resizable/resize_handle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui/src/resizable/resize_handle.rs b/crates/ui/src/resizable/resize_handle.rs index da049120..5f874a13 100644 --- a/crates/ui/src/resizable/resize_handle.rs +++ b/crates/ui/src/resizable/resize_handle.rs @@ -150,7 +150,7 @@ impl Element for ResizeHandle { .child( div() .bg(bg_color) - .group_hover("handle", |this| this.bg(cx.theme().drag_border)) + .group_hover("handle", |this| this.bg(bg_color)) .when(axis.is_horizontal(), |this| this.h_full().w(HANDLE_SIZE)) .when(axis.is_vertical(), |this| this.w_full().h(HANDLE_SIZE)), )