cadcraft/crates
Jeremy Yao a2b6c9ac4a
Animation effects follow the operating system's setting; View ▸ Accessibility ▸ Animation Effects (#759)
With Windows set to show no animations (Settings ▸ Accessibility ▸ Visual
effects ▸ Animation effects), dialogs and menus still faded in and wheel
input glided. All of that motion is egui's default behaviour, and nothing
asked the operating system.

- crates/ui-egui/src/animation.rs: AnimationPref (System, On, Off). Off sets
  egui's animation_time to 0 and scroll_animation to none (window, menu,
  tooltip and popup fades, collapsing sections, scroll bars, scroll-to
  glides), hands each wheel notch to scroll areas whole, and lets
  Cmd/Ctrl+wheel zoom reach its zoom in one step.
- System, the default, follows the OS live: UISettings::AnimationsEnabled on
  Windows, NSWorkspace's Reduce motion on macOS, the XDG Desktop Portal's
  reduced-motion (then GNOME's enable-animations) on Linux and the BSDs,
  prefers-reduced-motion on the web.
- View ▸ Accessibility ▸ Animation Effects ▸ Use System Setting / On / Off,
  the same choice in Options ▸ Display, and `ui.animations`, `options` and
  `ui.set` {"animations"}; `ui.inspect` reports whether animations show.

Drafting behaviour is untouched: tracking's acquisition pause, the
time-sensitive right-click, previews, the caret blink, realtime pan and
zoom. Plain wheel zoom already moved a whole notch per frame (#692).

macOS and Linux are compile-checked (clippy -D warnings for
aarch64-apple-darwin and x86_64-unknown-linux-gnu), not run.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-13 05:34:56 -04:00
..
color Only colour 7 flips with the background (fixes #272) (#285) 2026-10-10 16:11:24 -04:00
constraints Constraints: an arc solved with a negative radius is stored turned half a turn, so its points stay put (fixes #703) (#772) 2026-10-13 04:34:51 -04:00
doc DXF: count the records the reader can't place; info reports them, convert warns (part of #865) (#872) 2026-10-13 05:31:58 -04:00
dwg Open damaged DWGs partially and say what was left out (#800) (#859) 2026-10-13 05:30:18 -04:00
dxf DXF: read pre-2007 files in their $DWGCODEPAGE (CJK, Cyrillic, Central European…) (fixes #505) (#511) 2026-10-11 11:47:42 -04:00
engine MCP: render one area of the drawing, and read its texts (find_text) (#757) 2026-10-13 05:34:34 -04:00
fonts MTEXT: paragraph indents and tab stops are in drawing units (#895) 2026-10-13 05:13:16 -04:00
geom Property-based and hostile-input tests for geometry numerics (gaps.md S6) (#733) 2026-10-13 05:16:44 -04:00
io AutoLISP: load and run .lsp routines (fixes #758) (#855) 2026-10-13 05:33:57 -04:00
mcp MCP: render one area of the drawing, and read its texts (find_text) (#757) 2026-10-13 05:34:34 -04:00
render MCP: render one area of the drawing, and read its texts (find_text) (#757) 2026-10-13 05:34:34 -04:00
ui-egui Animation effects follow the operating system's setting; View ▸ Accessibility ▸ Animation Effects (#759) 2026-10-13 05:34:56 -04:00