zed/crates/gpui
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
..
examples Generalize Text element to let you add arbitrary scene primitives for runs of text 2023-04-27 13:58:06 -07:00
src More keybindings in macOs modals with buttons 2023-05-02 21:10:20 +03:00
build.rs
Cargo.toml 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00