zed/crates/gpui/src
Kirill Bulatov 1398a12062 More keybindings in macOs modals with buttons
Closes https://github.com/zed-industries/community/issues/1095
by forcing the non-Cancel button to get a focus.
Due to the way macOs handles buttons on modals, the focus gain had to be
achieved via certain button addition order, rather than conventional
"setFocus"-ish API, see the related comment for details.

Co-authored-by: Antonio Scandurra <antonio@zed.dev>
2023-05-02 21:10:20 +03:00
..
app Move debug_elements to AsyncAppContext 2023-05-02 11:09:40 +02:00
elements Merge pull request #2417 from zed-industries/hover-markdown 2023-04-27 14:15:04 -07:00
keymap_matcher Bound the search range for the keybindings by the highest handler path 2023-03-10 12:12:32 -08:00
platform More keybindings in macOs modals with buttons 2023-05-02 21:10:20 +03:00
scene WIP 2023-04-12 10:07:17 -06:00
views Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
app.rs Move debug_elements to AsyncAppContext 2023-05-02 11:09:40 +02:00
assets.rs Add png image loading to gpui 2023-03-06 14:26:32 -08:00
clipboard.rs Move all crates to a top-level crates folder 2021-10-04 13:22:21 -06:00
color.rs Style search in buffer below breadcrumbs 2022-03-31 11:44:16 -06:00
elements.rs Move debug_elements to AsyncAppContext 2023-05-02 11:09:40 +02:00
executor.rs Merge branch 'main' into randomized-tests-operation-script 2023-04-10 08:45:22 +02:00
font_cache.rs Don't make fonts::Features Copy 2023-03-17 13:54:56 +01:00
fonts.rs Avoid storing fonts::Features in TextStyle 2023-03-17 15:12:02 +01:00
geometry.rs One big cleanup pass of clippy lints 2022-08-10 16:51:01 -07:00
gpui.rs Refine naming of element-related types and traits 2023-04-21 13:06:37 -06:00
image_data.rs Move all crates to a top-level crates folder 2021-10-04 13:22:21 -06:00
json.rs Move all crates to a top-level crates folder 2021-10-04 13:22:21 -06:00
keymap_matcher.rs Remove comment 2023-02-23 14:24:53 -08:00
platform.rs Track active window id in test platform 2023-04-20 17:22:11 +02:00
scene.rs WIP 2023-04-11 18:21:56 -06:00
test.rs Refine naming of element-related types and traits 2023-04-21 13:06:37 -06:00
text_layout.rs Fix bug where Text element would wrap at the right glyph in the wrong run 2023-04-26 15:33:10 -07:00
util.rs Make timer method available on both foreground and background executors 2022-03-04 13:54:07 -08:00
views.rs Merge MutableAppContext into AppContext 2023-04-06 15:49:03 -06:00