mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
parent
bd2dfa7a55
commit
85ec03633b
2 changed files with 8 additions and 1 deletions
|
@ -69,6 +69,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||
- `window.startup_mode` applied to window again when creating new tab
|
||||
- Crash when leaving search after resize
|
||||
- Cursor being hidden after reaching cursor blinking timeout
|
||||
- Message bar content getting stuck after closing with multiple messages on Wayland
|
||||
|
||||
### Removed
|
||||
|
||||
|
|
|
@ -941,12 +941,18 @@ impl Display {
|
|||
MessageType::Warning => config.colors.normal.yellow,
|
||||
};
|
||||
|
||||
let x = 0;
|
||||
let width = size_info.width() as i32;
|
||||
let height = (size_info.height() - y) as i32;
|
||||
let message_bar_rect =
|
||||
RenderRect::new(0., y, size_info.width(), size_info.height() - y, bg, 1.);
|
||||
RenderRect::new(x as f32, y, width as f32, height as f32, bg, 1.);
|
||||
|
||||
// Push message_bar in the end, so it'll be above all other content.
|
||||
rects.push(message_bar_rect);
|
||||
|
||||
// Always damage message bar, since it could have messages of the same size in it.
|
||||
self.damage_rects.push(DamageRect { x, y: y as i32, width, height });
|
||||
|
||||
// Draw rectangles.
|
||||
self.renderer.draw_rects(&size_info, &metrics, rects);
|
||||
|
||||
|
|
Loading…
Reference in a new issue