Skip to content

Commit

Permalink
Update raqote
Browse files Browse the repository at this point in the history
  • Loading branch information
pylbrecht committed Sep 17, 2019
1 parent 818b5d4 commit 430fad8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions components/canvas/raqote_backend.rs
Expand Up @@ -186,8 +186,7 @@ impl Path {
}

pub fn contains_point(&self, x: f64, y: f64, _path_transform: &Transform2D<f32>) -> bool {
let path = self.as_raqote();
path.contains_point(0.1, path.winding, x as f32, y as f32)
self.as_raqote().contains_point(0.1, x as f32, y as f32)
}

pub fn copy_to_builder(&self) -> Box<dyn GenericPathBuilder> {
Expand Down

0 comments on commit 430fad8

Please sign in to comment.