fix(webrdp): add canvas bleed
This commit is contained in:
parent
9b29e30162
commit
aa2cfe78d0
@ -31,8 +31,8 @@ impl Rdp {
|
|||||||
.body()
|
.body()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
let height = body.client_height() as u16;
|
let height = (body.client_height() as f32 * 0.99) as u16;
|
||||||
let width = body.client_width() as u16;
|
let width = (body.client_width() - 40) as u16;
|
||||||
Self {
|
Self {
|
||||||
url: url.to_owned(),
|
url: url.to_owned(),
|
||||||
username: username.to_owned(),
|
username: username.to_owned(),
|
||||||
|
Loading…
Reference in New Issue
Block a user