fix: typo

This commit is contained in:
Ashley Wulber 2022-11-15 11:30:42 +01:00
parent 8d4e7e1cf1
commit c48fca40fe
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

View file

@ -61,8 +61,8 @@ pub fn get_popup_settings(
let (offset, anchor, gravity) = match anchor {
PanelAnchor::Left => ((8, 0), Anchor::Right, Gravity::Right),
PanelAnchor::Right => ((-8, 0), Anchor::Left, Gravity::Left),
PanelAnchor::Top => ((0, -8), Anchor::Bottom, Gravity::Bottom),
PanelAnchor::Bottom => ((0, 8), Anchor::Top, Gravity::Top),
PanelAnchor::Top => ((0, 8), Anchor::Bottom, Gravity::Bottom),
PanelAnchor::Bottom => ((0, -8), Anchor::Top, Gravity::Top),
};
SctkPopupSettings {
parent,