fix tiling window
Some checks failed
Rust / build (ubuntu-latest, stable) (push) Failing after 1m38s
Rust / build (ubuntu-latest, stable) (pull_request) Failing after 1m38s
Some checks failed
Rust / build (ubuntu-latest, stable) (push) Failing after 1m38s
Rust / build (ubuntu-latest, stable) (pull_request) Failing after 1m38s
This commit is contained in:
@@ -313,9 +313,8 @@ impl Render for Root {
|
||||
let size = window.window_bounds().get_bounds().size;
|
||||
let pos = e.position;
|
||||
|
||||
match resize_edge(pos, CLIENT_SIDE_DECORATION_SHADOW, size) {
|
||||
Some(edge) => window.start_window_resize(edge),
|
||||
None => window.start_window_move(),
|
||||
if let Some(edge) = resize_edge(pos, CLIENT_SIDE_DECORATION_SHADOW, size) {
|
||||
window.start_window_resize(edge)
|
||||
};
|
||||
}),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user