Make pop up open on the side of the button

This commit is contained in:
Petros Amoiridis 2023-03-08 11:00:30 +02:00
parent ca03d871a6
commit baa9e271d5
No known key found for this signature in database

View file

@ -135,7 +135,7 @@ impl TerminalButton {
}
self.popup_menu.update(cx, |menu, cx| {
menu.show(vec2f(0., 0.), AnchorCorner::TopLeft, menu_options, cx);
menu.show(vec2f(0., 0.), AnchorCorner::TopRight, menu_options, cx);
});
}
}