Update to euclid 0.8

This commit is contained in:
Martin Robinson 2016-08-11 00:29:19 +02:00 committed by Anthony Ramine
parent b7facf41cb
commit 6259df5e2d
56 changed files with 538 additions and 558 deletions

View file

@ -12,13 +12,13 @@ path = "lib.rs"
[dependencies]
azure = {git = "https://github.com/servo/rust-azure", features = ["plugins"]}
canvas_traits = {path = "../canvas_traits"}
euclid = "0.7.1"
euclid = "0.8.2"
gfx_traits = {path = "../gfx_traits"}
gleam = "0.2.8"
ipc-channel = "0.4.0"
log = "0.3.5"
num-traits = "0.1.32"
offscreen_gl_context = "0.1.2"
offscreen_gl_context = "0.2.0"
plugins = {path = "../plugins"}
util = {path = "../util"}

View file

@ -520,7 +520,7 @@ impl<'a> CanvasPaintThread<'a> {
}
fn set_transform(&mut self, transform: &Matrix2D<f32>) {
self.state.transform = *transform;
self.state.transform = transform.clone();
self.drawtarget.set_transform(transform)
}