aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2018-11-12 18:23:23 +0000
committerGitHub <noreply@github.com>2018-11-12 18:23:23 +0000
commitd05d16f023b27fc4707478668db73d6860918956 (patch)
tree521c4fae62fba369712e0bb4ffb56dc7f2103cc9 /Cargo.toml
parent4a8d18cdee2d0a11feb639e7f19d6f7df07cec83 (diff)
downloadalacritty-d05d16f023b27fc4707478668db73d6860918956.tar.gz
alacritty-d05d16f023b27fc4707478668db73d6860918956.zip
Fix incorrect padding calculations
The extra window padding was calculated in the renderer which lead to problems with the paddings calculated in the `src/display.rs` and `src/term/mod.rs`. As a solution, every instance of `config.padding().x/y` has been removed from the renderer (`src/renderer/mod.rs`), instead the padding is always passed through from the `src/display.rs`. The initial calculations during display creation and after resize then are scaled appropriately and then the extra padding is calculated. As a result every other location can just make use of the correctly calculated `size_info.padding_x` and `size_info.padding_y`. The documentation has been changed to clearly state that the padding is scaled by DPI now. This fixes #1773.
Diffstat (limited to 'Cargo.toml')
0 files changed, 0 insertions, 0 deletions