Don't shift pane content when following someone

This commit is contained in:
Antonio Scandurra 2024-01-05 10:55:33 +01:00
parent 9840a8427e
commit cf03ea2da9

View file

@ -246,7 +246,15 @@ impl Member {
.size_full() .size_full()
.child(pane.clone()) .child(pane.clone())
.when_some(leader_border, |this, color| { .when_some(leader_border, |this, color| {
this.border_2().border_color(color) this.child(
div()
.absolute()
.size_full()
.left_0()
.top_0()
.border_2()
.border_color(color),
)
}) })
.when_some(leader_status_box, |this, status_box| { .when_some(leader_status_box, |this, status_box| {
this.child( this.child(