fix swf
This commit is contained in:
parent
6acab74fae
commit
ed1d75fdc6
|
@ -93,12 +93,12 @@ impl Shape {
|
|||
}
|
||||
|
||||
#[inline]
|
||||
fn first(&self) -> LineSegment {
|
||||
fn first(&self) -> &LineSegment {
|
||||
self.outline.first().unwrap()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn last(&self) -> LineSegment {
|
||||
fn last(&self) -> &LineSegment {
|
||||
self.outline.last().unwrap()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue