From 572d0f24e4923cac794e7b2da8632951cd807852 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 25 Feb 2019 21:29:20 +0100 Subject: Render background --- libstorycode/storycode.y | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libstorycode/storycode.y') diff --git a/libstorycode/storycode.y b/libstorycode/storycode.y index 38a0750..66e69a1 100644 --- a/libstorycode/storycode.y +++ b/libstorycode/storycode.y @@ -165,7 +165,8 @@ void set_style(struct scpctx *ctx, enum style_element element) if ( ctx->mask & STYMASK_PADDING ) stylesheet_set_padding(ctx->ss, element, ctx->padding); if ( ctx->mask & STYMASK_PARASPACE ) stylesheet_set_paraspace(ctx->ss, element, ctx->paraspace); if ( ctx->mask & STYMASK_FGCOL ) stylesheet_set_fgcol(ctx->ss, element, ctx->fgcol); - if ( ctx->mask & STYMASK_BGCOL ) stylesheet_set_bgcol(ctx->ss, element, ctx->bgcol); + if ( ctx->mask & STYMASK_BGCOL ) stylesheet_set_background(ctx->ss, element, ctx->bggrad, + ctx->bgcol, ctx->bgcol2); ctx->mask = 0; } -- cgit v1.2.3