| | |
| | | require(split.get("type") == "fullscreen", "Split View tile must still be a fullscreen Space") |
| | | require(split.get("windowCount") == 2, "Split View tile must count both fullscreen windows") |
| | | require(split.get("appCount") == 2, "Split View tile must count both Split View apps") |
| | | require(split.get("countVisible") is False, "Split View tile must hide the top-right count label") |
| | | require(split.get("countText") == "", "Split View tile must clear the top-right count text") |
| | | require(split.get("windowBlockCount") == 0, "Split View tile must not draw normal window blocks") |
| | | require("splitView" in split.get("visualStates", []), "Split View tile must expose splitView visual state") |
| | | require(split.get("fullscreenMarkerPathStyle") == "centerDividerOnly", "Split View marker must draw only the center divider") |
| | | require( |
| | | split.get("splitViewAppNames") == ["左侧应用", "右侧应用"], |
| | | "Split View app names must be ordered by physical window frame from left to right" |
| | |
| | | "splitSpace": split.get("label"), |
| | | "splitNames": split.get("splitViewAppNames"), |
| | | "markerKind": split.get("fullscreenMarkerKind"), |
| | | "markerPathStyle": split.get("fullscreenMarkerPathStyle"), |
| | | "countVisible": split.get("countVisible"), |
| | | "singleFullscreenLabels": [segment.get("label") for segment in single_fullscreen], |
| | | }, indent=2, ensure_ascii=False)) |
| | | PY |