Fix casing of "macOS" (#17040)

This PR fixes a number of spots in English contexts (docs, comments,
etc.) where we were using "MacOS" instead of "macOS".

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-08-28 19:10:49 -04:00 committed by GitHub
parent 505675c0b5
commit b374c7d912
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 11 additions and 11 deletions

View file

@ -233,7 +233,7 @@ unsafe fn build_classes() {
pub(crate) fn convert_mouse_position(position: NSPoint, window_height: Pixels) -> Point<Pixels> {
point(
px(position.x as f32),
// MacOS screen coordinates are relative to bottom left
// macOS screen coordinates are relative to bottom left
window_height - px(position.y as f32),
)
}
@ -1307,7 +1307,7 @@ extern "C" fn handle_key_event(this: &Object, native_event: id, key_equivalent:
if !handled && is_held {
if let Some(text) = previous_keydown_inserted_text {
// MacOS IME is a bit funky, and even when you've told it there's nothing to
// macOS IME is a bit funky, and even when you've told it there's nothing to
// enter it will still swallow certain keys (e.g. 'f', 'j') and not others
// (e.g. 'n'). This is a problem for certain kinds of views, like the terminal.
with_input_handler(this, |input_handler| {