We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f9580b commit 0ea459dCopy full SHA for 0ea459d
1 file changed
src/lib.rs
@@ -158,17 +158,17 @@ pub fn capture_fullscreen() -> ImageData {
158
let total_width = monitors
159
.iter()
160
.map(|m| {
161
- (m.x().expect("Failed to get monitor x") as u32
162
- + m.width().expect("Failed to get monitor width"))
+ m.x().expect("Failed to get monitor x") as u32
+ + m.width().expect("Failed to get monitor width")
163
})
164
.max()
165
.unwrap();
166
167
let total_height = monitors
168
169
170
- (m.y().expect("Failed to get monitor y") as u32
171
- + m.height().expect("Failed to get monitor height"))
+ m.y().expect("Failed to get monitor y") as u32
+ + m.height().expect("Failed to get monitor height")
172
173
174
0 commit comments