mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-25 02:47:02 -06:00
The test schema extended the image scale-mode field that only #634 adds; it now adds the filter containers to the paint message itself, so it works with and without #634.
This commit is contained in:
@@ -12,7 +12,7 @@ fn image_filter_schema() -> Schema {
|
||||
message PaintFilterMessage float tint, float shadows, float highlights, float detail, float exposure, float vignette, float temperature, float vibrance, float contrast, float brightness, float mystery\n\
|
||||
message Paint ",
|
||||
)
|
||||
.replace("ImageScaleMode imageScaleMode\n", "ImageScaleMode imageScaleMode, PaintFilterMessage paintFilter, FilterColorAdjust filterColorAdjust\n");
|
||||
.replace("message Paint PaintType type,", "message Paint PaintFilterMessage paintFilter, FilterColorAdjust filterColorAdjust, PaintType type,");
|
||||
Schema::parse(&text).unwrap()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user