Commit Graph
3081 Commits
Author SHA1 Message Date
FredApps d54439be8b M6: scale imported vector point radii with their instance row (#2097) 2026-11-08 16:10:54 +01:00
FredApps a07a21b697 M6: bound exported instance factors to the supported range (#2097) 2026-11-08 16:08:34 +01:00
FredApps 23ed778562 M6: preserve scaled instance export overrides (#2097) 2026-11-08 15:23:36 +01:00
Trevor BrownandClaude Sonnet 5.5 9303b73991 .fig import: the round-trip test asserts the scaled size; text on a path takes the instance's size (#2100 review)
The scaled-instance round-trip test now asserts the scaled width and height instead of printing them. text_path read the layer's raw size, so a text on a path inside a scaled instance kept the main's path length; it now uses the scaled or fitted size.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
2026-11-07 22:58:07 -05:00
Trevor BrownandClaude Sonnet 5.5 c7c5a4f87d .fig import: a nested instance's own rows take its scale; blur positions and swapped styles are not rescaled (#2100 review)
- A nested instance's override and derived rows (and its text property values) are written in the enclosing main's space: OverrideRow carries the factor of the layer that supplied it and View::with takes (row, scale) pairs. Test: a_nested_instances_own_rows_are_at_its_enclosing_mains_scale.
- Progressive blur startOffset and endOffset are unit-box fractions, not lengths: only offset and noiseSize scale. Test: a_progressive_blurs_positions_are_not_lengths.
- An effect or grid style takes the factor of the layer that links it (1 when an instance row swaps it), not the main's. Test: an_effect_style_takes_the_scale_of_the_layer_that_links_it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Fable 5.1 reviewed; Sonnet 5.5 wrote at high
2026-11-07 22:23:39 -05:00
Trevor BrownandClaude Sonnet 5.5 62d761a7bc M6: .fig import draws a scaled instance's layers at its scale factor (#2091)
An instance scaled with the Scale tool in Figma stores `symbolData.uniformScaleFactor`; the importer never read it, so the layers of a 128 px instance of a 256 px component came in at 256 px with the main's radii, strokes and spacing. Layers of an instance now take the main's lengths times the factor (composed through nested instances), the same values the Scale tool scales, unless an override or derived row gives the value, which is already at the instance's scale. Eight tests: the reproducer, the round trip, a derived size row not scaled twice, override rows, auto layout gap/padding/text, nested composition, factor 1 or none, and junk factors ignored.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at high
2026-11-07 22:06:35 -05:00
bflatastic 2c09046a27 Merge main into #1729 2026-11-07 12:47:51 +07:00
bflatastic 4106c26e8c Merge main into #1729 2026-11-07 12:30:05 +07:00
bflatastic 70821e3645 Merge main into #1879 2026-11-07 12:29:18 +07:00
bflatastic 3f6aa299ea Merge main into #1873 2026-11-07 12:15:09 +07:00
bflatastic 9278ee5451 Merge main into #1729 2026-11-07 12:14:41 +07:00
bflatastic 12293e2e55 Merge main into #1879; shortcut counts with #1858's row 2026-11-07 12:14:30 +07:00
BFlat 05e1bcebf8 Merge pull request #2061 from storytold/carry/1952
fix(cli,ui): escape control characters in document and plugin text sent to the terminal
2026-11-07 13:13:29 +08:00
BFlat 9bec55c05a Merge pull request #1911 from TrevorBrown-dev/fix/layers-component-contrast
Layers panel: component rows in the theme's component tint, at AA contrast (#1903)
2026-11-07 13:12:56 +08:00
BFlat 808e60eeae Merge pull request #1772 from SoldierPePe/i18n/rtl-window-mirror
M10: a right-to-left UI language mirrors the window
2026-11-07 13:11:40 +08:00
bflatastic 1546d29a66 Merge main into #1729 2026-11-07 12:07:03 +07:00
BFlat 58a46033f0 Merge pull request #1774 from TrevorBrown-dev/fix/geom-bounded-sizes
M8: shape builders cap sizes, radii and angles at 1e9, so an absurd value cannot build millions of segments
2026-11-07 13:06:11 +08:00
BFlat 31c54bfc99 Merge pull request #2068 from Silvertree2010/fix/h7240-react-tailwind-export-breaks-the
Fix Tailwind export breaking JSX when font family has quotes or brackets
2026-11-07 13:00:53 +08:00
bflatastic 6304904317 Merge main into #1911 2026-11-07 11:58:09 +07:00
bflatastic 651a7743c1 Merge main into #1873 2026-11-07 11:57:34 +07:00
bflatastic e056dc7608 Merge main into #1879 2026-11-07 11:56:47 +07:00
bflatastic f1eb55f58b Merge main into #1772 2026-11-07 11:56:11 +07:00
BFlat b64f13ac56 Merge pull request #1759 from dotCooCoo/feat/export-color-profile
Export: each export setting chooses a color profile
2026-11-07 12:54:29 +08:00
Trevor Brown 3c607075f9 Merge remote-tracking branch 'upstream/main' into fix/layers-component-contrast
# Conflicts:
#	crates/ui-egui/src/panels/layers.rs
#	docs/ui-parity.md
2026-11-06 23:53:00 -05:00
BFlat 8d1b183e7d Merge pull request #1913 from tommy1616/feat/traditional-chinese-taiwan
M10: Traditional Chinese (Taiwan) interface draft
2026-11-07 12:52:13 +08:00
BFlat 5999408d1e Merge pull request #1858 from TrevorBrown-dev/fix/padding-all-sides
M2: a Cmd/Ctrl-click on a padding field sets all four sides with the value typed
2026-11-07 12:49:06 +08:00
Trevor Brown 0f8f780c19 Merge remote-tracking branch 'upstream/main' into fix/scrub-speed 2026-11-06 23:49:05 -05:00
Trevor Brown 39b93b7950 Merge remote-tracking branch 'upstream/main' into feat/pick-select 2026-11-06 23:49:01 -05:00
Trevor Brown cc4fcd5827 Merge remote-tracking branch 'upstream/main' into fix/geom-bounded-sizes
# Conflicts:
#	crates/geom/src/lib.rs
2026-11-06 23:48:15 -05:00
BFlat 764c416633 Merge pull request #1912 from TrevorBrown-dev/feat/layers-horizontal-scroll
Layers panel: the list is as wide as its widest name and scrolls sideways (#1904)
2026-11-07 12:47:49 +08:00
bflatastic bc47bcd17a Merge main into #1772 2026-11-07 11:41:20 +07:00
BFlat 1a035285de Merge pull request #1998 from cheyras/fix/live-offline-merge
M9: joining a live session again merges what you did while disconnected
2026-11-07 12:40:49 +08:00
bflatastic bfae850ab1 Merge remote-tracking branch 'origin/main' into carry/1952 2026-11-07 11:37:12 +07:00
BFlat eec8abec39 Merge pull request #1801 from mortezanaeemi-ops/fix-library-variables
.fig import: resolve library variables and collections by asset key (newest copy)
2026-11-07 12:36:34 +08:00
bflatastic d601cc873b Export: rustfmt the merged lines 2026-11-07 11:36:06 +07:00
BFlat 1fcd8f8d1b Merge pull request #1766 from TrevorBrown-dev/fix/web-events-clock
M8: posting a comment in the browser no longer stops the app (#1764)
2026-11-07 12:34:59 +08:00
bflatastic 30e89c81c1 Merge main into #1912 2026-11-07 11:34:16 +07:00
bflatastic 345b7376f1 Traditional Chinese: drop strings main no longer has 2026-11-07 11:34:04 +07:00
bflatastic 17cbab31b7 Merge main into #1911 2026-11-07 11:33:42 +07:00
bflatastic 2d25f29cb3 Merge main into #1873 2026-11-07 11:33:07 +07:00
BFlat 2ed72be9a4 Merge pull request #1769 from TrevorBrown-dev/fix/variables-header-gap
M7: a gap between Import and Export in the Local variables window (#1754)
2026-11-07 12:31:42 +08:00
bflatastic 5087bf05dd Merge main into #1879 2026-11-07 11:31:30 +07:00
bflatastic 442d1d66f3 Merge main into #1858 2026-11-07 11:30:58 +07:00
BFlat d578f44742 Merge pull request #1878 from TrevorBrown-dev/feat/region-fills
M8: a fill per region: the Fill section and the fill commands edit the regions selected in vector edit mode (#1875)
2026-11-07 12:29:43 +08:00
bflatastic a6f6c42886 Merge remote-tracking branch 'origin/main' into landb/1913 2026-11-07 11:28:35 +07:00
BFlat 7c3b134406 Merge pull request #1775 from TrevorBrown-dev/fix/pencil-dark-background
M4: the Pencil draws white on a dark page or frame, and previews in that colour (#1741)
2026-11-07 12:28:15 +08:00
bflatastic c1ff1de7a9 Merge main into #1858 2026-11-07 11:28:03 +07:00
BFlat 305fc686b2 Merge pull request #1854 from TrevorBrown-dev/fix/control-arrows-pan
Control channel: ui.key arrows pan the view when nothing is selected, as the window does
2026-11-07 12:26:48 +08:00
bflatastic 5552d3dac5 Export profile test: an sRGB JPG embeds its profile since main's JPG change 2026-11-07 11:26:26 +07:00
BFlat f453bdb99b Merge pull request #1770 from TrevorBrown-dev/fix/page-background-opacity
M1: the page background opacity can be edited in the Page section (#1748)
2026-11-07 12:24:58 +08:00