mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-08 04:20:01 +03:00
Compare commits
1 Commits
revert-scr
...
hyprland-f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
417a3820a2 |
@@ -146,8 +146,8 @@ impl Window {
|
||||
let g = &state.g;
|
||||
|
||||
let (width, height) = match pos {
|
||||
Position::Left | Position::Right => (1, size.1 as u32),
|
||||
Position::Top | Position::Bottom => (size.0 as u32, 1),
|
||||
Position::Left | Position::Right => (2, size.1 as u32),
|
||||
Position::Top | Position::Bottom => (size.0 as u32, 2),
|
||||
};
|
||||
let mut file = tempfile::tempfile().unwrap();
|
||||
draw(&mut file, (width, height));
|
||||
|
||||
Reference in New Issue
Block a user