mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:03:45 +08:00
fix: build error
This commit is contained in:
parent
0532b0f9df
commit
8437d1763f
@ -186,9 +186,9 @@ pub fn create_window(app_handle: &AppHandle) {
|
||||
let pos = win.outer_position()?;
|
||||
|
||||
if pos.x < -400
|
||||
|| pos.x > (size.width - 200).try_into()?
|
||||
|| pos.x > (size.width - 200) as i32
|
||||
|| pos.y < -200
|
||||
|| pos.y > (size.height - 200).try_into()?
|
||||
|| pos.y > (size.height - 200) as i32
|
||||
{
|
||||
center = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user