ZIm/crates/gpui/examples
Smit Barmase 77856bf017
Hide the mouse when the user is typing in the editor - take 2 (#27519)
Closes #4461

Take 2 on https://github.com/zed-industries/zed/pull/25040. 

Fixes panic caused due to using `setHiddenUntilMouseMoves` return type
to `set` cursor on macOS.

Release Notes:

- Now cursor hides when the user is typing in editor. It will stay
hidden until it is moved again. This behavior is `true` by default, and
can be configured with `hide_mouse_while_typing` in settings.

---------

Co-authored-by: Peter Tripp <peter@zed.dev>
Co-authored-by: Thomas Mickley-Doyle <thomas@zed.dev>
Co-authored-by: Agus <agus@zed.dev>
Co-authored-by: Kirill Bulatov <kirill@zed.dev>
Co-authored-by: Agus Zubiaga <hi@aguz.me>
Co-authored-by: Angelk90 <angelo.k90@hotmail.it>
2025-03-27 01:58:26 +05:30
..
image gpui: Maintain img aspect ratio when max_width is set (#25632) 2025-03-03 12:36:27 +01:00
svg gpui: Update asset paths for more examples (#24646) 2025-02-11 14:37:55 +00:00
animation.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
data_table.rs gpui: Rename rounded_md to rounded_sm (#26228) 2025-03-06 17:57:31 +00:00
gif_viewer.rs gpui: Update asset paths for more examples (#24646) 2025-02-11 14:37:55 +00:00
gradient.rs Revert "Revert recent anti-aliasing improvements (#24289)" and fix selection top right corner radius issue (#24342) 2025-02-06 11:03:23 +02:00
hello_world.rs Add support for dashed borders to GPUI (#27139) 2025-03-25 11:11:04 -06:00
image_loading.rs gpui: Rename rounded_sm to rounded_xs (#26221) 2025-03-06 16:08:19 +00:00
input.rs gpui: Fix Cut action in input example (#26203) 2025-03-06 10:02:52 -05:00
on_window_close_quit.rs Add last window closed setting (#25185) 2025-02-19 20:03:10 +00:00
opacity.rs Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00
ownership_post.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
painting.rs Revert "Revert recent anti-aliasing improvements (#24289)" and fix selection top right corner radius issue (#24342) 2025-02-06 11:03:23 +02:00
pattern.rs gpui: Add interval in pattern (#26459) 2025-03-14 12:51:09 -07:00
set_menus.rs gpui: Update docs to reflect removal of View, ViewContext, WindowContext (#24008) 2025-01-31 11:40:42 -08:00
shadow.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
text_layout.rs gpui: Fix line_through, underline position when used text center or right (#24721) 2025-03-15 11:44:51 +02:00
text_wrapper.rs gpui: Add line_clamp to truncate text after a specified number of lines (#23058) 2025-01-29 22:14:24 +02:00
uniform_list.rs Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
window.rs Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00
window_positioning.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
window_shadow.rs Hide the mouse when the user is typing in the editor - take 2 (#27519) 2025-03-27 01:58:26 +05:30