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