aboutsummaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/screenshot_ui.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/screenshot_ui.rs b/src/ui/screenshot_ui.rs
index 58298de9..aa6c38b8 100644
--- a/src/ui/screenshot_ui.rs
+++ b/src/ui/screenshot_ui.rs
@@ -657,7 +657,7 @@ pub fn rect_from_corner_points(
let y2 = max(a.y, b.y);
// We're adding + 1 because the pointer is clamped to output size - 1, so to get the full
// screen worth of selection we must add back that + 1.
- Rectangle::from_extemities((x1, y1), (x2 + 1, y2 + 1))
+ Rectangle::from_extremities((x1, y1), (x2 + 1, y2 + 1))
}
fn render_panel(