fix(webrdp): add canvas bleed

This commit is contained in:
qwqVictor 2023-08-29 23:07:57 +08:00
parent 9b29e30162
commit aa2cfe78d0

View File

@ -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(),