mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-25 14:05:41 -05:00
parent
5c6b7dd244
commit
ccd3cc8e6a
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ impl Display {
|
|||
|
||||
let viewport_size = Size {
|
||||
width: Pixels(width + 2 * config.padding().x as u32),
|
||||
height: Pixels(width + 2 * config.padding().y as u32),
|
||||
height: Pixels(height + 2 * config.padding().y as u32),
|
||||
};
|
||||
window.set_inner_size(&viewport_size);
|
||||
renderer.resize(viewport_size.width.0 as _, viewport_size.height.0 as _);
|
||||
|
|
Loading…
Reference in a new issue