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
elements
keymap_matcher
platform
scene
views
app.rs
assets.rs
clipboard.rs
color.rs
elements.rs
executor.rs
font_cache.rs
fonts.rs
geometry.rs
gpui.rs
image_data.rs
json.rs
keymap_matcher.rs
platform.rs
scene.rs
test.rs
text_layout.rs
util.rs
views.rs