refactor(mac): converge the docs of AspectRatio to the Windows text

Same two variant docs as in the KDE revision before: 'A predefined aspect ratio' and 'A custom W:H aspect ratio' become the Windows 'Predefined aspect ratio' and 'Custom W:H aspect ratio'.

Schema: komorebi-for-mac/schema.json cannot be regenerated on this host, so the two description lines were edited to the text of the doc comments; the file equals the old one after deleting every description (jq walk), so description-only. The next revisions compare the generated definitions of the shared crate with this file.

Verified: jq description-only comparison (4 changed lines). Doc comments only: no compile needed, not run.
This commit is contained in:
LGUG2Z committed 2026-10-31 01:37:54 -07:00
1 parent cc02f57a7c
commit 7ebead10aa
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -1597,10 +1597,10 @@ impl From<&CFDictionary> for WindowBounds {
#[serde(untagged)]
/// Aspect ratio for temporarily floating windows
pub enum AspectRatio {
/// A predefined aspect ratio
/// Predefined aspect ratio
#[cfg_attr(feature = "schemars", schemars(title = "Predefined"))]
Predefined(PredefinedAspectRatio),
/// A custom W:H aspect ratio
/// Custom W:H aspect ratio
#[cfg_attr(feature = "schemars", schemars(title = "Custom"))]
Custom(i32, i32),
}
+2 -2
View File
@@ -639,12 +639,12 @@
"anyOf": [
{
"title": "Predefined",
"description": "A predefined aspect ratio",
"description": "Predefined aspect ratio",
"$ref": "#/$defs/PredefinedAspectRatio"
},
{
"title": "Custom",
"description": "A custom W:H aspect ratio",
"description": "Custom W:H aspect ratio",
"type": "array",
"maxItems": 2,
"minItems": 2,