Skip to content

Commit

Permalink
ei: fix region scale
Browse files Browse the repository at this point in the history
  • Loading branch information
mahkoh committed Sep 2, 2024
1 parent 2579834 commit e4c1f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ei/ei_ifs/ei_device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl EiDevice {
offset_y: rect.y1() as u32,
width: rect.width() as u32,
hight: rect.height() as u32,
scale: scale.to_f64() as f32,
scale: (1.0 / scale.to_f64()) as f32,
});
}

Expand Down

0 comments on commit e4c1f0c

Please sign in to comment.