Skip to content

Commit 03cf9e2

Browse files
chore(deps): bump image from 0.25.5 to 0.25.8 (#277)
* chore(deps): bump image from 0.25.5 to 0.25.8 Bumps [image](https://github.com/image-rs/image) from 0.25.5 to 0.25.8. - [Changelog](https://github.com/image-rs/image/blob/v0.25.8/CHANGES.md) - [Commits](image-rs/image@v0.25.5...v0.25.8) --- updated-dependencies: - dependency-name: image dependency-version: 0.25.8 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * chore: fix lint Signed-off-by: Sven Kanoldt <sven@d34dl0ck.me> * chore: fix lint Signed-off-by: Sven Kanoldt <sven@d34dl0ck.me> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Sven Kanoldt <sven@d34dl0ck.me> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sven Kanoldt <sven@d34dl0ck.me>
1 parent 77de27c commit 03cf9e2

File tree

3 files changed

+24
-4
lines changed

3 files changed

+24
-4
lines changed

Cargo.lock

Lines changed: 22 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/common/platform_api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use crate::{ImageOnHeap, Result, WindowId, WindowList};
33
pub trait PlatformApi: Send {
44
/// 1. it does check for the screenshot
55
/// 2. it checks for transparent margins and configures the api
6-
/// to cut them away in further screenshots
6+
/// to cut them away in further screenshots
77
fn calibrate(&mut self, window_id: WindowId) -> Result<()>;
88
fn window_list(&self) -> Result<WindowList>;
99
fn capture_window_screenshot(&self, window_id: WindowId) -> Result<ImageOnHeap>;

src/linux/x11_api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ impl X11Api {
128128
impl PlatformApi for X11Api {
129129
/// 1. error if no screenshot is capture-able
130130
/// 2. it checks for transparent margins and configures the api
131-
/// to cut them away in further screenshots
131+
/// to cut them away in further screenshots
132132
fn calibrate(&mut self, window_id: WindowId) -> Result<()> {
133133
let image = self.capture_window_screenshot(window_id)?;
134134
self.margin = identify_transparency(*image)?;

0 commit comments

Comments
 (0)