diff --git a/src/core/context.zig b/src/core/context.zig index ed439a6..a9e6855 100644 --- a/src/core/context.zig +++ b/src/core/context.zig @@ -728,6 +728,9 @@ pub const Context = struct { animating: bool, /// False if panel was suppressed - caller should return immediately should_draw: bool, + /// The actual background color being drawn (for table mimetism) + /// Tables should use this as row_normal to blend seamlessly with panel + derived_bg: Style.Color, }; /// Draw a complete panel frame with focus transition and 3D effects. @@ -832,7 +835,12 @@ pub const Context = struct { } // should_draw = false indica que el panel debe saltar operaciones costosas (BD, widgets) - return .{ .animating = animating, .should_draw = !burst_suppressed }; + // derived_bg = color actual del fondo (para mimetismo de tablas) + return .{ + .animating = animating, + .should_draw = !burst_suppressed, + .derived_bg = transition.current, + }; } /// Resize the context