Skip to content

PhotoCraft: An open-source, photo editor written by scratch in pure Rust

Merge main into #7721 and retain exact Crystallize and Ripple fields

PerchAntonb165afc332cf
diff --cc crates/engine/src/atn_cmds.rs
index aaf869225,afba79302..e64e13a41
--- a/crates/engine/src/atn_cmds.rs
+++ b/crates/engine/src/atn_cmds.rs
@@@ -2669,10 -3075,18 +3075,18 @@@ const EVENTS: &[Event] = &
"filter.other.offset",
&[F("Hrzn", "horizontal", Kind::Long), F("Vrtc", "vertical", Kind::Long), F("Fl ", "undefinedAreas", Kind::Enum("FlMd", OFFSET_FILL))]
),
- ev!("Rple", "ripple", "Ripple", "filter.distort.ripple", &[F("Amnt", "amount", Kind::Long), F("RplS", "size", Kind::Enum("RplS", RIPPLE_SIZE))]),
+ ev!("Rple", "ripple", "Ripple", "filter.distort.ripple", &[F("Amnt", "amount", Kind::ExactLong), F("RplS", "size", Kind::Enum("RplS", RIPPLE_SIZE))]),
- ev!("Crst", "crystallize", "Crystallize", "filter.pixelate.crystallize", &[F("ClSz", "cellSize", Kind::Long)]),
+ ev!("Crst", "crystallize", "Crystallize", "filter.pixelate.crystallize", &[F("ClSz", "cellSize", Kind::ExactLong)]),
Event { code: "GEfc", name: "filterGallery", label: "Filter Gallery", ids: GALLERY_IDS, from: gallery_from, to: gallery_to },
// Adjustments (Image › Adjustments).
+ Event {
+ code: "",
+ name: "adaptCorrect",
+ label: "Shadows/Highlights",
+ ids: &["image.adjustments.shadowsHighlights"],
+ from: shadows_highlights_from,
+ to: shadows_highlights_to,
+ },
Event {
code: "Lvls",
name: "levels",