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
+1 -1
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);
});
}
}