Commit Graph
3520 Commits
Author SHA1 Message Date
Trevor BrownandClaude Opus 5.5 a7fd34288d Presenter: a still view keeps its detail at fractional scales, tested end to end (#2127)
The rounding overshoot fixed in 6d4df2b9, through the presenter's own frames rather than a direct call: a tall frame presented fit-to-width at eleven fractional widths, and a still view keeps its detail texture for four more frames. Before 6d4df2b9 it failed at width 1555.5 (a new texture on every frame).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove and wrote
2026-11-13 00:04:29 -05:00
Trevor BrownandClaude Opus 5.5 6d4df2b909 Presenter: a view a rounding error past the frame keeps its detail texture (#2127)
The page rect of the view, converted back from the screen, can stand a hair outside the frame. The cached detail is always inside the frame, so it never covered that view, and a still view rendered a new detail every frame. detail_texture now clips the view to the frame first. Test: present::tests::a_view_a_rounding_error_past_the_frame_keeps_its_detail (failed before: a new texture on the second call).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Model-Effort: Opus 5.5 drove and wrote
2026-11-12 21:15:22 -05:00
Trevor BrownandClaude Sonnet 5.5 0859f94c7d Presenter: the hidpi detail replaces the whole-frame texture instead of drawing over it (#2127)
Both textures start from a transparent pixmap, so a translucent layer was counted twice where the detail covered it. The whole-frame texture is now drawn only around the detail rect (up to four clipped strips), then the detail.

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-12 20:27:55 -05:00
Trevor BrownandClaude Sonnet 5.5 d851ac07f0 Merge upstream main into fix/present-hidpi-detail-2127
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-12 19:39:16 -05:00
.CooCoo 40360c4a2a Fix main: clippy on Rust 1.100 stops at shortcuts.rs and the CLI script tests (#2316)
Rust 1.100 marks `ExitCode` as must-use and extends `needless_bool`,
so `cargo clippy --workspace --all-targets -- -D warnings` fails on main:

- `crates/ui-egui/src/shortcuts.rs`: the end of `key_event` returns the
  condition directly instead of `if ... { return true; } false`.
- `apps/figcraft-cli/src/files.rs`: three script tests now assert the exit
  code that `run_script` returns (`SUCCESS` for the two scripts that run,
  1 for the script whose step fails) instead of dropping it.
2026-11-13 01:38:53 +01:00
bflatastic 5b20fac623 Merge main into #2163 2026-11-12 14:22:18 +07:00
bflatastic 64e3684a11 Merge main into #2163 2026-11-12 14:05:23 +07:00
bflatastic 12b293efe5 Merge main into #2200 2026-11-12 14:04:50 +07:00
bflatastic 47f5518155 Merge main into #2163 2026-11-12 13:49:58 +07:00
bflatastic 7a052d73a4 Merge main into #2192 2026-11-12 13:49:25 +07:00
bflatastic d3f14f5bd8 Merge main into #2200 2026-11-12 13:48:51 +07:00
bflatastic b9486affb9 Merge main into #2163 2026-11-12 13:30:33 +07:00
bflatastic d50203228d Merge main into #2191 2026-11-12 13:29:57 +07:00
bflatastic 2636516fbb Merge main into #2192 2026-11-12 13:29:23 +07:00
bflatastic c98ad17451 Merge main into #2200 2026-11-12 13:28:50 +07:00
bflatastic d3a75187d8 Merge main into #2163 2026-11-12 13:15:51 +07:00
bflatastic 7f017a736b Merge main into #2191 2026-11-12 13:15:16 +07:00
bflatastic 23db6dbddb Merge main into #2192 2026-11-12 13:14:43 +07:00
bflatastic bd656ae5b3 Merge main into #2199 2026-11-12 13:14:10 +07:00
bflatastic 39b7c54766 Merge main into #2200 2026-11-12 13:13:38 +07:00
bflatastic 41a8915c4e Merge main into #2163 2026-11-12 12:58:57 +07:00
bflatastic f286b6bbe6 Merge main into #2191 2026-11-12 12:58:24 +07:00
bflatastic d656417b02 Merge main into #2192 2026-11-12 12:57:51 +07:00
bflatastic cee3462e40 Merge main into #2199 2026-11-12 12:57:19 +07:00
bflatastic 0bfb944d4d Merge main into #2200 2026-11-12 12:56:45 +07:00
bflatastic b6b9b2995f Merge main into #2224 2026-11-12 12:56:12 +07:00
bflatastic 632056130d Merge main into #2163 2026-11-12 12:42:58 +07:00
bflatastic 28b46bb334 Merge main into #2191 2026-11-12 12:42:24 +07:00
bflatastic 007f495e89 Merge main into #2192 2026-11-12 12:41:50 +07:00
bflatastic cf339eba02 Merge main into #2199 2026-11-12 12:41:15 +07:00
bflatastic 50d2d63090 Merge main into #2200 2026-11-12 12:40:43 +07:00
bflatastic 77fcc564a3 Merge main into #2224 2026-11-12 12:40:10 +07:00
bflatastic 997e022ecf Merge main into #2121 2026-11-12 12:39:36 +07:00
bflatastic 73e1339b14 Merge main into #2163 2026-11-12 12:27:20 +07:00
bflatastic 79248ede26 Merge main into #2191 2026-11-12 12:26:47 +07:00
bflatastic 80f4f36290 Merge main into #2192 2026-11-12 12:26:15 +07:00
bflatastic c7589dac3e Merge main into #2199 2026-11-12 12:25:42 +07:00
bflatastic 8cb527bd21 Merge main into #2200 2026-11-12 12:25:09 +07:00
bflatastic 5549c4cc2e Merge main into #2224 2026-11-12 12:24:36 +07:00
bflatastic 7f0e94508d Merge main into #2121 2026-11-12 12:23:30 +07:00
bflatastic a6f98591d3 Merge main into #2147 2026-11-12 12:22:57 +07:00
bflatastic e259dffebd Merge main into #2163 2026-11-12 12:11:40 +07:00
bflatastic 0ed464c91a Merge main into #2191 2026-11-12 12:11:07 +07:00
bflatastic 405c0939ca Merge main into #2192 2026-11-12 12:10:34 +07:00
bflatastic b16a345386 Merge main into #2199 2026-11-12 12:10:01 +07:00
bflatastic 8e04a4ab10 Merge main into #2200 2026-11-12 12:09:15 +07:00
bflatastic 04c7856d1b Merge main into #2224 2026-11-12 12:08:42 +07:00
bflatastic 05c666add5 Merge main into #2096 2026-11-12 12:07:36 +07:00
bflatastic 2d5729e7ee Merge main into #2121 2026-11-12 12:06:52 +07:00
bflatastic b742d7464b Merge main into #2147 2026-11-12 12:05:53 +07:00