summaryrefslogtreecommitdiffstats
path: root/renderer/src/fallback.rs
diff options
context:
space:
mode:
Diffstat (limited to 'renderer/src/fallback.rs')
-rw-r--r--renderer/src/fallback.rs12
1 files changed, 10 insertions, 2 deletions
diff --git a/renderer/src/fallback.rs b/renderer/src/fallback.rs
index a077031b..6a169692 100644
--- a/renderer/src/fallback.rs
+++ b/renderer/src/fallback.rs
@@ -155,11 +155,18 @@ where
filter_method: image::FilterMethod,
bounds: Rectangle,
rotation: Radians,
+ opacity: f32,
) {
delegate!(
self,
renderer,
- renderer.draw_image(handle, filter_method, bounds, rotation)
+ renderer.draw_image(
+ handle,
+ filter_method,
+ bounds,
+ rotation,
+ opacity
+ )
);
}
}
@@ -179,11 +186,12 @@ where
color: Option<Color>,
bounds: Rectangle,
rotation: Radians,
+ opacity: f32,
) {
delegate!(
self,
renderer,
- renderer.draw_svg(handle, color, bounds, rotation)
+ renderer.draw_svg(handle, color, bounds, rotation, opacity)
);
}
}