mirror of https://github.com/lapce/lapce.git
fix panel picker drag
This commit is contained in:
parent
e99621d971
commit
890438883e
|
@ -584,7 +584,8 @@ fn panel_picker(
|
||||||
})
|
})
|
||||||
.style(|s| s.padding(1.0)),
|
.style(|s| s.padding(1.0)),
|
||||||
label(|| "".to_string()).style(move |s| {
|
label(|| "".to_string()).style(move |s| {
|
||||||
s.absolute()
|
s.selectable(false)
|
||||||
|
.absolute()
|
||||||
.size_pct(100.0, 100.0)
|
.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))
|
||||||
.apply_if(!is_bottom && !is_first, |s| s.margin_top(-2.0))
|
.apply_if(!is_bottom && !is_first, |s| s.margin_top(-2.0))
|
||||||
|
|
Loading…
Reference in New Issue