Lower Dell monitor and make edges flush.

This commit is contained in:
Bill Thiede 2023-01-21 12:00:22 -08:00
parent 5efe275748
commit 61e9f4d9b5

View File

@ -8,7 +8,10 @@ fn main() -> Result<()> {
width: 1920,
height: 1200,
},
offset: Offset { x: 0, y: 360 },
offset: Offset {
x: 0,
y: 1440 * 2 - 1920,
},
orientation: Orientation::Right,
..Default::default()
};
@ -31,7 +34,8 @@ fn main() -> Result<()> {
height: 1440,
},
offset: Offset {
x: (dell.resolution.height + (lg.resolution.width - 2560) / 2) as isize,
x: dell.resolution.height as isize,
//x: (dell.resolution.height + (lg.resolution.width - 2560) / 2) as isize,
y: (lg.resolution.height) as isize,
},
..Default::default()