Rust voxel sandbox (wgpu + wasm + axum multiplayer)
The render-distance slider has step=16 in the HTML; setting .value to 120 snaps to the nearest valid value (128). The test was asserting the displayed text contained "120" — never true. Changed to 128 (actually on a step boundary). Pure test correctness; UI behavior was right all along (snap-to-step is the slider's intended behavior). All four UI scenarios now green on hardware Chromium: ui-menu-open-close 13 steps 2.44s ✓ ui-hotbar 10 steps 1.07s ✓ ui-respawn 14 steps 3.38s ✓ ui-settings-sliders 15 steps 1.52s ✓ FPS on real hardware: 61.9 fps (16.2ms median) — matches the deployment, confirms the game itself is fast. The earlier 3 fps was Playwright's SwiftShader software path. |
||
|---|---|---|
| server | ||
| src | ||
| test | ||
| web | ||
| .dockerignore | ||
| .gitignore | ||
| ARCHITECTURE.md | ||
| build-web.sh | ||
| Caddyfile | ||
| Cargo.lock | ||
| Cargo.toml | ||
| DEPLOY.md | ||
| docker-compose.prod.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| run.sh | ||