Lower Dell monitor and make edges flush.
This commit is contained in:
parent
5efe275748
commit
61e9f4d9b5
@ -8,7 +8,10 @@ fn main() -> Result<()> {
|
|||||||
width: 1920,
|
width: 1920,
|
||||||
height: 1200,
|
height: 1200,
|
||||||
},
|
},
|
||||||
offset: Offset { x: 0, y: 360 },
|
offset: Offset {
|
||||||
|
x: 0,
|
||||||
|
y: 1440 * 2 - 1920,
|
||||||
|
},
|
||||||
orientation: Orientation::Right,
|
orientation: Orientation::Right,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
};
|
};
|
||||||
@ -31,7 +34,8 @@ fn main() -> Result<()> {
|
|||||||
height: 1440,
|
height: 1440,
|
||||||
},
|
},
|
||||||
offset: Offset {
|
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,
|
y: (lg.resolution.height) as isize,
|
||||||
},
|
},
|
||||||
..Default::default()
|
..Default::default()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user