macOS: change split drag's point style to match HIG (#13433)

<img width="637" height="373" alt="image"
src="https://github.com/user-attachments/assets/bdcd25f1-7755-47d0-8582-26ea8a00a0ca"
/>

Previously there's mismatch with
[`CursorStyle.cursor`](15484b607e/macos/Sources/Helpers/Cursor.swift (L74-L109))

>
https://developer.apple.com/design/human-interface-guidelines/pointing-devices#Pointers
This commit is contained in:
Mitchell Hashimoto
2026-07-25 08:54:57 -07:00
committed by GitHub

View File

@@ -107,12 +107,12 @@ enum BackportPointerStyle {
case .horizontalText: return .horizontalText
case .verticalText: return .verticalText
case .link: return .link
case .resizeLeft: return .frameResize(position: .trailing, directions: [.inward])
case .resizeRight: return .frameResize(position: .leading, directions: [.inward])
case .resizeUp: return .frameResize(position: .bottom, directions: [.inward])
case .resizeDown: return .frameResize(position: .top, directions: [.inward])
case .resizeUpDown: return .frameResize(position: .top)
case .resizeLeftRight: return .frameResize(position: .trailing)
case .resizeLeft: return .columnResize(directions: .leading)
case .resizeRight: return .columnResize(directions: .trailing)
case .resizeUp: return .rowResize(directions: .up)
case .resizeDown: return .rowResize(directions: .down)
case .resizeUpDown: return .rowResize
case .resizeLeftRight: return .columnResize
}
}
#endif