Update inner.rs

This commit is contained in:
wiiznokes 2024-05-04 13:53:15 +02:00 committed by Ashley Wulber
parent bdedee3cc9
commit a544feddfc

View file

@ -453,9 +453,7 @@ impl PageInner {
PanelAnchor::Bottom, PanelAnchor::Bottom,
] ]
.iter() .iter()
.find(|a| { .find(|a| Anchor(**a).to_string() == self.anchors[i])
Anchor(**a).to_string() == self.anchors[i]
})
{ {
panel_config.anchor = *anchor; panel_config.anchor = *anchor;
} }