Make pop up open on the side of the button

This commit is contained in:
Petros Amoiridis committed 2023-03-08 11:00:30 +02:00
1 parent b3ccb868b7
commit fa09484ec0
1 file changed
+1 -1
+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);
});
}
}