Skip to content

Commit 17ce11f

Browse files
sub07Marius Pardo
andauthored
Release 0.3.2 (#63)
* fixes #62 * release 0.3.2 --------- Co-authored-by: Marius Pardo <marius.pardo@guarani.fr>
1 parent 8436214 commit 17ce11f

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[package]
22
name = "winri"
33
description = "A window scrolling tiler for Windows 11"
4-
version = "0.3.1"
4+
version = "0.3.2"
55
edition = "2024"
66
license = "MIT"
77

88
[dependencies]
99
anyhow = "1"
10-
windows-strings = "0"
10+
windows-strings = "0.5"
1111
log = "0"
1212
log4rs = "1.4"
1313
rdev = { version = "0", features = ["unstable_grab"] }

src/scroll_tiler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ impl ScrollTiler {
153153
pub fn set_current_window_halfscreen(&mut self) {
154154
if let Some(focus_index) = self.focus_index() {
155155
let screen_width = self.screen_size.width();
156-
self.windows[focus_index].width = self.padding.mul_add(-2.0, screen_width / 2.0);
156+
self.windows[focus_index].request_width(self.padding.mul_add(-2.0, screen_width / 2.0));
157157
}
158158
}
159159

0 commit comments

Comments
 (0)