mmmexplorer

OBSERVED MMM COMMIT #526

Size map previews from their node instead of a fixed box

mmm-observation:sha256:5f47e7d990f3cd17dfdcb0afe64857c6d885a5c4c1c139eab1a0fa0376615e4f

Signed revision

Revision ID
mmm-revision:sha256:24af55ed2400e5753df93b967aad063dff9f78295928a7d42ef47d690b3b9bca
Backend
Git
Issued
2026-09-12 13:23:35 UTC
Manifest
mmm-manifest:sha256:0ac5e619660b71c86f0dd9c3ad05c6d4484cf44e35d03762aac25ca079388f0b

CANONICAL RECORD VIEW

Revision payload

{
  "backend": {
    "author": {
      "email": "drschwabe@fastmail.com",
      "name": "Derrick Schwabe",
      "time": 1789219415
    },
    "commit": "git:sha1:0b0d8194277f98a454a20efe8de26a9227cdc765",
    "committer": {
      "email": "drschwabe@fastmail.com",
      "name": "Derrick Schwabe",
      "time": 1789219415
    },
    "manifest": "mmm-manifest:sha256:0ac5e619660b71c86f0dd9c3ad05c6d4484cf44e35d03762aac25ca079388f0b",
    "message": "Size map previews from their node instead of a fixed box\n\nMap previews were baked through displaySize with its default 520x360\nbounds and no upscaling, so a 64x64 map of 16px tiles always landed on a\n360x360 canvas at 0.35 scale no matter how large the node was. Tilesheet\npreviews already measured their node viewport; maps never did, and\nresizing a map node changed nothing.\n\nMaps now go through previewDisplaySize like tilesheets, which also keeps\nthe live pane's native path. That measurement only means something when\nthe canvas sits in a box whose height comes from the node, so the map\nnode is baked as the same flex column the tilesheet uses, with the canvas\nin a flex-1 .TILED-PREVIEW viewport.\n\nFit 1:1 scale covered images, tilesheets and screens but not maps, which\nis the other half of reading a map at full detail. mapPixelSize moves to\ntiled/common so the DOM-free fit rules can size a map without pulling in\nthe renderer, and the map node reuses the tilesheet chrome measurement\nnow that it has the same preview element.\n\nCo-Authored-By: Claude Opus 5 <noreply@anthropic.com>\nClaude-Session: https://claude.ai/code/session_016HzHdBaYnZz9qJqXq6AUNo",
    "objectFormat": "sha1",
    "parents": [
      "git:sha1:35156a7d2d11dd4d9f6ff20302a9e7e2c90c777c"
    ],
    "ref": "refs/heads/master",
    "summary": "Size map previews from their node instead of a fixed box",
    "tree": "git:sha1:89ff92bc52a20671ee34687e73ca618aba1304d0",
    "type": "git"
  },
  "issuedAt": "2026-09-13T15:05:55.710Z",
  "previous": "mmm-revision:sha256:20c4cd817469660b1d0e940f865348de51006ce9ff1c1daab0b50d7db5f5726d",
  "project": "mmm1np06566gf6u8fpyj84u2emf25l98qad36700d2nlep6jzqdknp8qkyd3xu",
  "protocol": "mmm/0-alpha",
  "sequence": 190,
  "type": "mmm/revision"
}