fix: rendering of tab bar background
This commit is contained in:
parent
7f229f3486
commit
e6cc1c35f9
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ pub const TabBar = struct {
|
||||||
|
|
||||||
fn init(allocator: std.mem.Allocator, parent: Plane, event_handler: ?EventHandler, min_tabs: ?usize) !Self {
|
fn init(allocator: std.mem.Allocator, parent: Plane, event_handler: ?EventHandler, min_tabs: ?usize) !Self {
|
||||||
var w = try WidgetList.createH(allocator, parent, "tabs", .dynamic);
|
var w = try WidgetList.createH(allocator, parent, "tabs", .dynamic);
|
||||||
|
w.render_decoration = null;
|
||||||
w.ctx = w;
|
w.ctx = w;
|
||||||
const tab_style, const tab_style_bufs = root.read_config(Style, allocator);
|
const tab_style, const tab_style_bufs = root.read_config(Style, allocator);
|
||||||
return .{
|
return .{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue