panel: Only highlight resize handle when dragging. (#629)
This commit is contained in:
parent
851099f890
commit
b18dd47ce0
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ impl<T: 'static, E: 'static + Render> Element for ResizeHandle<T, E> {
|
|||
.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)),
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue