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

The two variant docs said 'A predefined aspect ratio' and 'A custom W:H aspect ratio' in KDE and macOS and 'Predefined aspect ratio' and 'Custom W:H aspect ratio' in Windows; the code of AspectRatio and PredefinedAspectRatio is identical in all three trees, so the docs are what stops one shared copy.

Schema: komorebi-for-kde/schema.json regenerated with the real komorebic: 2 description lines change, and the file equals the old one after deleting every description (jq walk), so description-only. schema.asc.json unchanged.

Verified: KDE komorebic build and regeneration (tier 1).
This commit is contained in:
LGUG2Z committed 2026-10-31 01:37:54 -07:00
1 parent d2a975aa0a
commit cc02f57a7c
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -436,10 +436,10 @@ impl Window {
#[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
@@ -677,12 +677,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,