Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
windows: Implement `ResizeColumn` and `ResizeRow` cursor style (#11533)
张小白fb4c6dbaa79e
diff --git a/crates/gpui/src/platform/windows/util.rs b/crates/gpui/src/platform/windows/util.rsindex e97652e9b96..a9c0c00c3ee 100644--- a/crates/gpui/src/platform/windows/util.rs+++ b/crates/gpui/src/platform/windows/util.rs@@ -118,12 +118,14 @@ pub(crate) fn load_cursor(style: CursorStyle) -> HCURSOR {CursorStyle::IBeam | CursorStyle::IBeamCursorForVerticalLayout => (&IBEAM, IDC_IBEAM),CursorStyle::Crosshair => (&CROSS, IDC_CROSS),CursorStyle::PointingHand | CursorStyle::DragLink => (&HAND, IDC_HAND),- CursorStyle::ResizeLeft | CursorStyle::ResizeRight | CursorStyle::ResizeLeftRight => {- (&SIZEWE, IDC_SIZEWE)- }- CursorStyle::ResizeUp | CursorStyle::ResizeDown | CursorStyle::ResizeUpDown => {- (&SIZENS, IDC_SIZENS)- }+ CursorStyle::ResizeLeft+ | CursorStyle::ResizeRight+ | CursorStyle::ResizeLeftRight+ | CursorStyle::ResizeColumn => (&SIZEWE, IDC_SIZEWE),+ CursorStyle::ResizeUp+ | CursorStyle::ResizeDown+ | CursorStyle::ResizeUpDown+ | CursorStyle::ResizeRow => (&SIZENS, IDC_SIZENS),CursorStyle::OperationNotAllowed => (&NO, IDC_NO),_ => (&ARROW, IDC_ARROW),};