summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/math
diff options
context:
space:
mode:
authorLU Jialin <luxxxlucy@gmail.com>2023-10-02 22:22:33 +0800
committerGitHub <noreply@github.com>2023-10-02 16:22:33 +0200
commit34ebbaeb1082b82b4f38d0b8da9a07675127ed79 (patch)
treed2e1c74d2abc1754d43be25cb6ddf9f134962ca4 /crates/typst-library/src/math
parent07e3fde54cdb8764077c789a15858ad1de468d32 (diff)
Passing color to the augment line in matrix (#2281)
Diffstat (limited to 'crates/typst-library/src/math')
-rw-r--r--crates/typst-library/src/math/matrix.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/typst-library/src/math/matrix.rs b/crates/typst-library/src/math/matrix.rs
index dd30209a..68f7f438 100644
--- a/crates/typst-library/src/math/matrix.rs
+++ b/crates/typst-library/src/math/matrix.rs
@@ -378,6 +378,7 @@ fn layout_mat_body(
let default_stroke_thickness = DEFAULT_STROKE_THICKNESS.scaled(ctx);
let default_stroke = FixedStroke {
thickness: default_stroke_thickness,
+ paint: TextElem::fill_in(ctx.styles()),
line_cap: LineCap::Square,
..Default::default()
};