diff options
author | Thomas White <taw@bitwiz.me.uk> | 2019-02-25 21:29:20 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2019-02-25 21:29:20 +0100 |
commit | 572d0f24e4923cac794e7b2da8632951cd807852 (patch) | |
tree | a4a67af89408e4849e281d258d23bbd0bf6f6c71 /libstorycode/storycode.y | |
parent | a779b9a9095cfceaa4a0a8da5b4faaaa98287078 (diff) |
Render background
Diffstat (limited to 'libstorycode/storycode.y')
-rw-r--r-- | libstorycode/storycode.y | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |