feat: add independent viewer zoom controls

This commit is contained in:
user
2026-07-16 10:42:28 +02:00
parent 7bb32400d5
commit a3ea8a0627
2 changed files with 62 additions and 9 deletions
+9
View File
@@ -169,6 +169,15 @@ def check_section_assets() -> None:
raise AssertionError("HTML zawiera surowe środowisko verbatim")
if "<pre><code>stemctl test demo</code></pre>" not in html:
raise AssertionError("HTML nie zawiera wyrenderowanego bloku verbatim")
for marker in (
'class="sheet-content"',
"--viewer-canvas-scale",
"--viewer-content-scale",
"event.altKey",
"event.shiftKey",
):
if marker not in html:
raise AssertionError(f"HTML nie zawiera obsługi zoomu viewera: {marker!r}")
if not copied_asset.is_file():
raise AssertionError(f"asset nie został skopiowany: {copied_asset}")