mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
style(gpu): match rustfmt compact ColorOverlay initialization
This commit is contained in:
1 parent
157711d1be
commit
d127cd6afb
1 file changed
+1
-4
@@ -2654,10 +2654,7 @@ fn dissolve_effects_stack_matches_cpu() {
|
||||
let mut styled = Layer::new("styled", LayerContent::Fill(Fill::Solid(Color::BLACK)));
|
||||
styled.blend = BlendMode::Dissolve;
|
||||
styled.opacity = 0.5;
|
||||
styled.effects.items.push(Effect::ColorOverlay {
|
||||
common: FxCommon::new(BlendMode::Normal, 1.0),
|
||||
color: Color::BLACK,
|
||||
});
|
||||
styled.effects.items.push(Effect::ColorOverlay { common: FxCommon::new(BlendMode::Normal, 1.0), color: Color::BLACK });
|
||||
d.layers.push(styled);
|
||||
check(&mut g, &d, "dissolve effects");
|
||||
}
|
||||
Reference in new issue
Block a user