ei: fix region scale
This commit is contained in:
parent
2579834a60
commit
e4c1f0c1f7
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ impl EiDevice {
|
|||
offset_y: rect.y1() as u32,
|
||||
width: rect.width() as u32,
|
||||
hight: rect.height() as u32,
|
||||
scale: scale.to_f64() as f32,
|
||||
scale: (1.0 / scale.to_f64()) as f32,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue