fix anchor

This commit is contained in:
wiiznokes 2024-05-04 02:31:49 +02:00 committed by Ashley Wulber
parent a8bf840ace
commit bdedee3cc9

View file

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