[librsvg: 8/27] Use values alias to be consistent with other parameters




commit b638a0c5d03daf7b4f8340fc27d3cd017b162f6e
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Mar 4 19:24:47 2021 -0600

    Use values alias to be consistent with other parameters

 src/filters/context.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/filters/context.rs b/src/filters/context.rs
index 417b58a5..34bd6213 100644
--- a/src/filters/context.rs
+++ b/src/filters/context.rs
@@ -295,7 +295,7 @@ impl FilterContext {
                     &values.fill().0,
                     values.fill_opacity().0,
                     &self.node_bbox,
-                    self.computed_from_node_being_filtered.color().0,
+                    values.color().0,
                     &values,
                 )
                 .map_err(FilterError::CairoError)
@@ -309,7 +309,7 @@ impl FilterContext {
                     &values.stroke().0,
                     values.stroke_opacity().0,
                     &self.node_bbox,
-                    self.computed_from_node_being_filtered.color().0,
+                    values.color().0,
                     &values,
                 )
                 .map_err(FilterError::CairoError)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]