Skip to content

Commit

Permalink
fix: dimensions not correctly shown
Browse files Browse the repository at this point in the history
  • Loading branch information
decipher3114 committed Oct 4, 2024
1 parent 04ba9d2 commit e2ebc52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windows/capture/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl CaptureWindow {
} else if matches!(self.crop_mode, CropMode::SelectionInProgress) {
self.endpoints.final_pt = final_pt;
let (initial_pt, final_pt) = self.endpoints.normalize();
let size = initial_pt - final_pt;
let size = final_pt - initial_pt;
self.mode_desc = format!("{} x {}", size.x as u32, size.y as u32);
}
}
Expand Down

0 comments on commit e2ebc52

Please sign in to comment.