ZIm/crates/gpui_macros/src
Minqi Pan adc66473e7
gpui: Add cursor style methods of nesw nwse resize (#21801)
Release Notes:

- N/A

---

This change adds two new methods to the cursor_style_methods function in
the gpui_macros crate (according to the Tailwind CSS documentation
https://tailwindcss.com/docs/cursor):
1. `cursor_nesw_resize`: Sets the cursor style to nesw-resize when
hovering over an element. This is useful for indicating resizing
diagonally from top-right to bottom-left.
2. `cursor_nwse_resize`: Sets the cursor style to nwse-resize when
hovering over an element. This is used for resizing diagonally from
top-left to bottom-right.
2024-12-10 11:54:26 -07:00
..
derive_into_element.rs Fix flickering (#9012) 2024-03-11 10:45:57 +01:00
derive_path_static_str.rs add ui::Vector and separate images from icons (#17815) 2024-09-13 17:44:16 -04:00
derive_render.rs gpui: Don't impl IntoElement on () (#8555) 2024-02-28 15:19:05 -07:00
gpui_macros.rs add ui::Vector and separate images from icons (#17815) 2024-09-13 17:44:16 -04:00
register_action.rs gpui-macros: Hide autogenerated action types/functions (#10417) 2024-04-11 15:38:47 +02:00
styles.rs gpui: Add cursor style methods of nesw nwse resize (#21801) 2024-12-10 11:54:26 -07:00
test.rs Resolve more todos 2024-01-09 15:08:05 -08:00