this repo has no description
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

🔥 Remove Canvas._render_cache

Was not used anymore anyways

+1 -6
-1
src/graphics/canvas.rs
··· 81 81 object_sizes: ObjectSizes::default(), 82 82 objects: HashMap::new(), 83 83 name: name.to_string(), 84 - _render_cache: None, 85 84 hidden: false, 86 85 }) 87 86 .collect();
+1 -3
src/graphics/layer.rs
··· 8 8 pub objects: HashMap<String, ColoredObject>, 9 9 pub name: String, 10 10 pub hidden: bool, 11 - pub _render_cache: Option<svg::node::element::Group>, 12 11 } 13 12 14 13 impl Layer { ··· 17 16 object_sizes: ObjectSizes::default(), 18 17 objects: HashMap::new(), 19 18 name: format!("{}", name), 20 - _render_cache: None, 21 19 hidden: false, 22 20 } 23 21 } ··· 44 42 45 43 // Flush the render cache. 46 44 pub fn flush(&mut self) { 47 - self._render_cache = None; 45 + // nothing 48 46 } 49 47 50 48 // Remove all objects.
-2
src/random/canvas.rs
··· 55 55 object_sizes: self.object_sizes, 56 56 name: layer_name.to_owned(), 57 57 objects, 58 - _render_cache: None, 59 58 hidden: false, 60 59 } 61 60 } ··· 102 101 object_sizes: self.object_sizes, 103 102 name: name.to_string(), 104 103 objects, 105 - _render_cache: None, 106 104 hidden: false, 107 105 } 108 106 }