mirror of
https://github.com/zed-industries/zed.git
synced 2026-12-03 23:03:21 +01:00
gpui: Improve Anchored to support center position (#47154)
Release Notes: - N/A Ref https://github.com/longbridge/gpui-component/pull/1956 extract my fork version of `anchored.rs` to let GPUI to support position Anchored at center. https://github.com/user-attachments/assets/8d0230ed-4b75-440b-b8c3-9bde3decd141 --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
81b16f464c
commit
84dcf38dbe
55 files changed
+574
-241
No files matched your search
@@ -518,7 +518,7 @@ impl Render for DapLogToolbarItemView {
|
||||
.and_then(|session_id| menu_rows.iter().find(|row| row.session_id == session_id));
|
||||
|
||||
let dap_menu: PopoverMenu<_> = PopoverMenu::new("DapLogView")
|
||||
.anchor(gpui::Corner::TopLeft)
|
||||
.anchor(gpui::Anchor::TopLeft)
|
||||
.trigger(Button::new(
|
||||
"debug_client_menu_header",
|
||||
current_client
|
||||
|
||||
Reference in new issue
Block a user