| @@ -47,8 +47,18 @@ | ||
| 47 | 47 | 'title' => __( 'Inkfall', 'desktop-mode' ), |
| 48 | 48 | 'description' => __( 'Words fall down a notebook page — type them before they reach the bottom. Finishing a word sends up a musical note that tears it into scattering letters.', 'desktop-mode' ), |
| 49 | 49 | 'icon_svg' => openstation_inkfall_icon_svg(), |
| 50 | 50 | 'script' => 'os-game-inkfall', |
| 51 | + // Mirrors the `window` block in `src/games/inkfall/index.ts`. | |
| 52 | + // Declared here as well so the window opens at the right | |
| 53 | + // size on the very first play, before the bundle that | |
| 54 | + // carries the def has been fetched. Keep the two in step. | |
| 55 | + 'window' => array( | |
| 56 | + 'width' => 820, | |
| 57 | + 'height' => 620, | |
| 58 | + 'minWidth' => 520, | |
| 59 | + 'minHeight' => 420, | |
| 60 | + ), | |
| 51 | 61 | 'score_columns' => array( |
| 52 | 62 | array( |
| 53 | 63 | 'key' => 'score', |
| 54 | 64 | 'label' => __( 'Score', 'desktop-mode' ), |