mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-28 14:08:42 -08:00
The runtime is installed in the desktop and web app creators, with its frame input (theme mode, interface scale, direction, FigCraft's F6) in raw_input_hook, the main window's close decision in its close path, and before_ui first in the desktop ui. The window's Escape returns to egui first in each window's frame, and the canvas is the window's document canvas, so FigCraft's keys reach its own handlers as before. The update dialogs run on a DialogHost, fonts load through craft_ui::fonts::load, the interface scale is the runtime's, and the searchable header menus are app-local. egui's ComboBox is the combo box on next.
8 lines
320 B
TOML
8 lines
320 B
TOML
# Tests may unwrap, expect and panic: a failing assertion is the point of a test. Shipped code may
|
||
# not (workspace lints in Cargo.toml; AGENTS.md › Robustness).
|
||
allow-unwrap-in-tests = true
|
||
allow-expect-in-tests = true
|
||
allow-panic-in-tests = true
|
||
too-many-arguments-threshold = 10
|
||
cognitive-complexity-threshold = 30
|