aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/render_helpers/solid_color.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render_helpers/solid_color.rs b/src/render_helpers/solid_color.rs
index 83923dbb..5ce29f47 100644
--- a/src/render_helpers/solid_color.rs
+++ b/src/render_helpers/solid_color.rs
@@ -146,7 +146,7 @@ impl Element for SolidColorRenderElement {
}
fn alpha(&self) -> f32 {
- 1.0
+ self.color[3]
}
fn kind(&self) -> Kind {