windows-terminal/samples
Leonard Hecker 6c80390de7
Fix offset calculation in the outlines shader (#14971)
The `Sample` method has an offset parameter which we can use here.
The result is not identical to the old shader, as the older shader
used the height of the terminal for drawing horizontal edges and so
the result looked way fatter than it was seemingly originally intended.
On my 150% scale display I found an offset of +/- 2px to produce an
acceptable result, although in the future it might be worthwhile to
make the offset dependent on the UI scale.

Closes #14953
2023-03-16 15:21:32 -05:00
..
ConPTY Upgrade to Windows SDK 22621 (#14135) 2022-10-07 00:09:27 +00:00
PixelShaders Fix offset calculation in the outlines shader (#14971) 2023-03-16 15:21:32 -05:00
ReadConsoleInputStream Fix typos found by codespell (#12475) 2022-02-17 17:58:31 +00:00