admin and Claude Opus 5.5
846a8b70b3
Let ?w=&h= fix the editor canvas to a set size
...
A recording of the editor is as large as its canvas, and so far the
canvas always followed the window. With ?w=1920&h=1080 the editor is
laid out at exactly that size in CSS pixels, whatever the window.
- src/ui/pageSize.ts reads w and h (both needed, 200 to 8192 each) and
works out how the canvas fits the window.
- A smaller window shows the canvas shrunk to fit, centred, with the
same aspect. A larger one shows it 1:1, centred on a dark page.
- Clicks still land right, since Pixi maps them over the canvas's
on-screen box. Switching projects keeps w and h in the URL.
- The pointer drawn into an editor recording now scales against the
layout size, so a shrunk canvas still records a full-size pointer.
Tests:
- Unit page-size: 5 new, green.
- e2e 62d: ?w=1600&h=900 in a 960x720 window gives a 1600x900 canvas
shown at 960x540, y 90, and a click on the menu button opens it.
Red without the shrinking.
- Gate on melektaus-atx: 304 files, 4691 tests green.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-12 14:44:28 +02:00
..
2026-10-11 12:12:39 +02:00
2026-10-11 13:40:43 +02:00
2026-10-09 15:31:33 +02:00
2026-10-01 22:08:28 +02:00
2026-10-04 13:30:31 +02:00
2026-10-12 06:36:30 +02:00
2026-09-29 22:07:53 +02:00
2026-10-10 17:37:13 +02:00
2026-09-16 08:08:10 +02:00
2026-09-23 18:29:34 +02:00
2026-10-02 23:52:49 +02:00
2026-10-07 18:17:21 +02:00
2026-09-16 08:08:10 +02:00
2026-10-07 18:17:21 +02:00
2026-09-23 06:57:43 +02:00
2026-09-29 22:07:53 +02:00
2026-09-23 08:13:22 +02:00
2026-09-23 20:07:47 +02:00
2026-09-16 08:08:10 +02:00
2026-09-23 16:44:15 +02:00
2026-10-02 19:33:34 +02:00
2026-09-29 06:01:26 +02:00
2026-09-27 21:56:21 +02:00
2026-10-04 00:11:41 +02:00
2026-10-05 16:08:59 +02:00
2026-09-16 08:08:10 +02:00
2026-10-11 17:42:10 +02:00
2026-10-10 17:37:13 +02:00
2026-09-22 18:29:10 +02:00
2026-10-11 18:35:20 +02:00
2026-09-27 12:12:40 +02:00
2026-10-07 08:25:13 +02:00
2026-10-03 14:51:18 +02:00
2026-09-27 21:56:21 +02:00
Asset panel grouped by kind with icons: assets are listed under a header per kind (Sprites, Behaviors, ...) with the count on the right, empty groups are not shown, every group starts folded when a project is opened, a click on the header folds and unfolds it, selecting an asset elsewhere unfolds its group and folding the group of the selected asset clears the selection; every asset kind has an SVG icon in src/editor/panels/icons/ drawn before the name, the pure rule for grouping and sorting lives in assetGroups.ts; the same icons replace the kind word in document tabs and the overflow menu (a list icon for the List tab, which also fixes the close x lying over the end of the active tab's text), stand before every entry of the + menu (Button got an icon option) and on the right of scene object rows instead of the type name; the colour swatch next to sprite names is gone from both panels; the SVG loader moved to src/ui/svg.ts for both icon sets; test hook assetRow unfolds the group and scrolls to the row, assetRowShown only reads, new hook menuIcons; e2e 4g and 4h, 14 and 44a check the icons ( #176 )
2026-09-19 18:36:20 +02:00
2026-10-11 12:51:46 +02:00
2026-10-01 17:30:16 +02:00
2026-09-23 10:20:05 +02:00
2026-10-02 20:33:20 +02:00
2026-10-09 09:52:22 +02:00
2026-09-27 12:12:01 +02:00
2026-10-07 16:54:59 +02:00
2026-10-03 10:09:45 +02:00
2026-10-01 19:36:13 +02:00
2026-10-04 19:13:58 +02:00
2026-10-09 14:27:12 +02:00
2026-10-10 17:37:13 +02:00
2026-10-12 13:40:47 +02:00
2026-10-07 18:17:21 +02:00
2026-10-07 18:17:21 +02:00
2026-10-03 21:01:10 +02:00
2026-09-29 18:12:55 +02:00
2026-09-29 22:36:30 +02:00
2026-09-27 12:12:40 +02:00
2026-10-07 18:17:21 +02:00
2026-10-07 18:17:21 +02:00
2026-09-30 22:08:22 +02:00
2026-10-03 18:16:59 +02:00
2026-10-01 07:28:49 +02:00
2026-09-30 07:57:18 +02:00
2026-09-30 11:18:39 +02:00
2026-10-11 21:11:05 +02:00
2026-09-29 14:44:14 +02:00
2026-10-12 14:44:28 +02:00
2026-10-04 00:39:59 +02:00
2026-10-09 21:28:50 +02:00
2026-10-10 17:37:13 +02:00
2026-10-12 13:55:13 +02:00
2026-10-12 13:40:47 +02:00
2026-10-12 12:31:32 +02:00
2026-10-12 10:38:19 +02:00
2026-10-12 07:47:22 +02:00