mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update to euclid 0.8
This commit is contained in:
parent
b7facf41cb
commit
6259df5e2d
56 changed files with 538 additions and 558 deletions
|
@ -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"}
|
||||
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue