From 28ab5643d9dcb71a3487c2c21b373f54093d05be Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Wed, 10 Apr 2024 18:40:33 +0200 Subject: [PATCH] fix: use theme background style for home screen --- src/tui/home.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tui/home.zig b/src/tui/home.zig index 8ea1b6c..e0d61fe 100644 --- a/src/tui/home.zig +++ b/src/tui/home.zig @@ -145,7 +145,7 @@ fn menu_action_quit(_: **Menu.State(*Self), _: *Button.State(*Menu.State(*Self)) pub fn render(self: *Self, theme: *const Widget.Theme) bool { const more = self.menu.render(theme); - try tui.set_base_style_alpha(self.background, " ", theme.editor, nc.ALPHA_OPAQUE, nc.ALPHA_TRANSPARENT); + try tui.set_base_style_alpha(self.background, " ", theme.editor, nc.ALPHA_OPAQUE, nc.ALPHA_OPAQUE); self.background.erase(); self.background.home(); try tui.set_base_style_alpha(self.plane, "", theme.editor, nc.ALPHA_TRANSPARENT, nc.ALPHA_TRANSPARENT);