summaryrefslogtreecommitdiff
path: root/src/gmdocument.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-09-29 10:37:14 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-09-29 10:37:29 +0300
commitdf4fd9416b8ede1421af618422eaa3675ff808dd (patch)
treecca80ddb40d45a82f8e1cef8f223bc32929f6752 /src/gmdocument.c
parent7f9f22cd5beb31d04a1f7bb47ac0709f43a342b1 (diff)
GmDocument: List bullets use a different color
More distinctive.
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r--src/gmdocument.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 20777ef2..a273a8d5 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -473,6 +473,7 @@ static void doLayout_GmDocument_(iGmDocument *d) {
473 run.color = colors[type]; 473 run.color = colors[type];
474 if (type == bullet_GmLineType) { 474 if (type == bullet_GmLineType) {
475 iGmRun bulRun = run; 475 iGmRun bulRun = run;
476 bulRun.color = tmQuote_ColorId;
476 bulRun.visBounds.pos = addX_I2(pos, indent * gap_Text); 477 bulRun.visBounds.pos = addX_I2(pos, indent * gap_Text);
477 bulRun.visBounds.size = advance_Text(run.font, bullet); 478 bulRun.visBounds.size = advance_Text(run.font, bullet);
478 bulRun.visBounds.pos.x -= 4 * gap_Text - width_Rect(bulRun.visBounds) / 2; 479 bulRun.visBounds.pos.x -= 4 * gap_Text - width_Rect(bulRun.visBounds) / 2;