fix: alpha rendering of status bar

This commit is contained in:
CJ van den Berg 2024-12-12 18:46:57 +01:00
parent 76ad218729
commit 62a4ec1400
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
11 changed files with 44 additions and 11 deletions

View file

@ -35,8 +35,11 @@ pub fn layout(self: *Self) Widget.Layout {
}
pub fn render(self: *Self, theme: *const Widget.Theme) bool {
self.plane.set_base_style(theme.statusbar);
self.plane.set_base_style(theme.editor);
self.plane.erase();
self.plane.home();
self.plane.set_style(theme.statusbar);
_ = self.plane.fill_width(" ", .{}) catch {};
return false;
}