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,
]
.iter()
.find(|a| {
Anchor(**a).to_string() == self.anchors[i]
})
.find(|a| Anchor(**a).to_string() == self.anchors[i])
{
panel_config.anchor = *anchor;
}