stage 512x384, so a replay can open
"Your screen cannot fit a window of that size" on Extras > Play Recording. The replay window is 504x342 — exactly expert, which the 512x352 stage holds with ten pixels to spare — so the message is not about the window it is about to draw. Not a positional check either, which was the first guess: from a centred beginner window an expert window would run 236px off the right edge, and the game repositions it without complaint. It is a minimum-screen check wanting slack it never spends, roughly the title bar it does not have here. Measured rather than reasoned about, on a stage enlarged for the purpose: the replay window is 504x342, the file dialog 420x239. Then 512x352 verified refusing a replay and 512x384 verified opening one. The height is the whole fix; the width is unchanged. That matters because 42 more pixels of stage cost nothing at the sizes people use: the panel caps the scale at 2x, so any stage up to about 726x451 draws the game at exactly the same size. The stage only starts costing pixels once the fit falls under the cap — which is also why the number is generous rather than the minimum that passes. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Officer-Session: de3ed4e6-f88a-429c-94e6-a760336ba83b
This commit is contained in:
@@ -20,7 +20,7 @@ type SessionStatus = {
|
||||
//
|
||||
// Only a placeholder until `onReady`, which sizes the canvas from the real framebuffer. Drift with the
|
||||
// sidecar's stage costs one frame of the wrong aspect ratio and nothing else.
|
||||
const PLACEHOLDER = { width: 512, height: 352 };
|
||||
const PLACEHOLDER = { width: 512, height: 384 };
|
||||
|
||||
const BUTTON_MASK: Record<number, number> = { 0: 1, 1: 2, 2: 4 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user