fix: rendering of tab bar background

This commit is contained in:
CJ van den Berg 2025-10-10 15:38:49 +02:00
parent 7f229f3486
commit e6cc1c35f9
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -100,6 +100,7 @@ pub const TabBar = struct {
fn init(allocator: std.mem.Allocator, parent: Plane, event_handler: ?EventHandler, min_tabs: ?usize) !Self {
var w = try WidgetList.createH(allocator, parent, "tabs", .dynamic);
w.render_decoration = null;
w.ctx = w;
const tab_style, const tab_style_bufs = root.read_config(Style, allocator);
return .{