Revert accidental change

This commit is contained in:
Patrick Walton 2019-05-29 15:21:02 -07:00
parent 51877426ea
commit 339397bf23
1 changed files with 1 additions and 3 deletions

View File

@ -51,7 +51,7 @@ impl<'a> OutlineStrokeToFill<'a> {
OutlineStrokeToFill { input, output: Outline::new(), style } OutlineStrokeToFill { input, output: Outline::new(), style }
} }
pub fn offset(&mut self) -> &mut OutlineStrokeToFill<'a> { pub fn offset(&mut self) {
let mut new_contours = vec![]; let mut new_contours = vec![];
for input in &self.input.contours { for input in &self.input.contours {
let closed = input.closed; let closed = input.closed;
@ -84,8 +84,6 @@ impl<'a> OutlineStrokeToFill<'a> {
self.output.contours = new_contours; self.output.contours = new_contours;
self.output.bounds = new_bounds.unwrap_or_else(|| RectF32::default()); self.output.bounds = new_bounds.unwrap_or_else(|| RectF32::default());
self
} }
#[inline] #[inline]