forked from zed-industries/zed
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve popup menu to leave some margin with window edges (zed-indust…
…ries#17159) Release Notes: - Improved popup menu to leave some margin with window edges. ## Updates in GPUI - gpui: Add `snap_to_window_with_margin` method to `anchored` to support leave margin to window edges. ## Before <img width="609" alt="before-snap-to-window 2024-08-30 222506" src="https://github.com/user-attachments/assets/62bb6791-7c89-4558-9484-5c7b31f5e91e"> ## After <img width="698" alt="snap-to-window1 2024-08-30 222506" src="https://github.com/user-attachments/assets/51634e79-2a95-42fe-8362-a3c7003648eb"> <img width="622" alt="snap-to-window 2024-08-30 222506" src="https://github.com/user-attachments/assets/43a865d6-d238-4fdc-ae9d-8160b9ba7953">
- Loading branch information
Showing
5 changed files
with
40 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters