mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-25 14:05:41 -05:00
Fix padding change not being applied immediately
This commit is contained in:
parent
e18f5a0a2f
commit
b8e3050104
1 changed files with 8 additions and 0 deletions
|
@ -1004,6 +1004,14 @@ impl<N: Notify + OnResize> Processor<N> {
|
|||
processor.ctx.display_update_pending.set_font(font);
|
||||
}
|
||||
|
||||
// Update display if padding options were changed.
|
||||
let window_config = &processor.ctx.config.ui_config.window;
|
||||
if window_config.padding != config.ui_config.window.padding
|
||||
|| window_config.dynamic_padding != config.ui_config.window.dynamic_padding
|
||||
{
|
||||
processor.ctx.display_update_pending.dirty = true;
|
||||
}
|
||||
|
||||
// Live title reload.
|
||||
if !config.ui_config.dynamic_title()
|
||||
|| processor.ctx.config.ui_config.window.title != config.ui_config.window.title
|
||||
|
|
Loading…
Reference in a new issue