diff --git a/src/gui/app.rs b/src/gui/app.rs index 8fb1758..955a86f 100644 --- a/src/gui/app.rs +++ b/src/gui/app.rs @@ -332,9 +332,8 @@ impl App { rect }), ResizeDirection::NorthEast => ("ne", CursorIcon::ResizeNorthEast, { - rect.min.y += Root::WINDOW_FRAME_MARGIN * 2.0; rect.min.x = rect.max.x - Root::WINDOW_FRAME_MARGIN * 2.0; - rect.max.y = rect.min.y; + rect.max.y = Root::WINDOW_FRAME_MARGIN * 2.0; rect }), ResizeDirection::SouthEast => ("se", CursorIcon::ResizeSouthEast, { @@ -344,7 +343,6 @@ impl App { }), ResizeDirection::SouthWest => ("sw", CursorIcon::ResizeSouthWest, { rect.min.y = rect.max.y - Root::WINDOW_FRAME_MARGIN * 2.0; - rect.max.y = rect.min.y; rect.max.x = rect.min.x + Root::WINDOW_FRAME_MARGIN * 2.0; rect }),