mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
photocraft-paint's BrushSettings::tip is a Tracked<TipShape>; tools.setBrush keeps its revision when the new brush's tip equals the old one. The options bar's field takes the presets, the tip and a BrushFace (size, hardness, angle, roundness) as props instead of the whole brush, so an Opacity or Flow write replays it. Trial: brush_settle_trials.
28 lines
788 B
TOML
28 lines
788 B
TOML
[package]
|
|
name = "photocraft-paint"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
craft-tracked = { workspace = true, features = ["serde"] }
|
|
craft-ui-macros = { workspace = true }
|
|
photocraft-geom = { workspace = true }
|
|
photocraft-color = { workspace = true }
|
|
photocraft-raster = { workspace = true }
|
|
serde = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
# The tile serde form and commands that take file bytes as base64 text.
|
|
base64 = "0.23"
|
|
|
|
# Large tips rasterize, accumulate and composite in parallel (the same pixels as serially).
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
rayon = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
craft-cms = { workspace = true }
|
|
serde_json = { workspace = true }
|