Make pop up open on the side of the button
This commit is contained in:
1 parent
b3ccb868b7
commit
fa09484ec0
1 file changed
+1
-1
@@ -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);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user