diff --git a/crates/gpui/src/platform/windows/util.rs b/crates/gpui/src/platform/windows/util.rs index af71dfe4a1f89246ccfceb6fc536acd199477e88..e5f037ad760d36a679c5ddf858c05de8933758f5 100644 --- a/crates/gpui/src/platform/windows/util.rs +++ b/crates/gpui/src/platform/windows/util.rs @@ -117,6 +117,8 @@ pub(crate) fn load_cursor(style: CursorStyle) -> Option { static HAND: OnceLock = OnceLock::new(); static SIZEWE: OnceLock = OnceLock::new(); static SIZENS: OnceLock = OnceLock::new(); + static SIZENWSE: OnceLock = OnceLock::new(); + static SIZENESW: OnceLock = OnceLock::new(); static NO: OnceLock = OnceLock::new(); let (lock, name) = match style { CursorStyle::IBeam | CursorStyle::IBeamCursorForVerticalLayout => (&IBEAM, IDC_IBEAM), @@ -130,6 +132,8 @@ pub(crate) fn load_cursor(style: CursorStyle) -> Option { | CursorStyle::ResizeDown | CursorStyle::ResizeUpDown | CursorStyle::ResizeRow => (&SIZENS, IDC_SIZENS), + CursorStyle::ResizeUpLeftDownRight => (&SIZENWSE, IDC_SIZENWSE), + CursorStyle::ResizeUpRightDownLeft => (&SIZENESW, IDC_SIZENESW), CursorStyle::OperationNotAllowed => (&NO, IDC_NO), CursorStyle::None => return None, _ => (&ARROW, IDC_ARROW),