Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Make pop up open on the side of the button

Petros Amoiridisbaa9e271d518
diff --git a/crates/workspace/src/terminal_button.rs b/crates/workspace/src/terminal_button.rs
index 69914fe6ceb..64bf1fa0eba 100644
--- a/crates/workspace/src/terminal_button.rs
+++ b/crates/workspace/src/terminal_button.rs
@@ -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);
});
}
}