Commit 381fc41
fix per-file checkered background not working for PDF documents
The checkered pattern and kColorUnset both used the same sentinel value,
so Canvas.cpp couldn't distinguish "no per-file color" from "per-file
checkered". Added bgColorCheckered flag to WindowTab to track this
explicitly. Also fixed the no-gradient branch to use colDocBg instead
of ThemeMainWindowBackgroundColor().
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 94dd3b4 commit 381fc41
3 files changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1484 | 1484 | | |
1485 | 1485 | | |
1486 | 1486 | | |
1487 | | - | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
1488 | 1490 | | |
1489 | 1491 | | |
1490 | 1492 | | |
| |||
1505 | 1507 | | |
1506 | 1508 | | |
1507 | 1509 | | |
1508 | | - | |
1509 | | - | |
| 1510 | + | |
1510 | 1511 | | |
1511 | 1512 | | |
1512 | 1513 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1426 | 1426 | | |
1427 | 1427 | | |
1428 | 1428 | | |
| 1429 | + | |
1429 | 1430 | | |
1430 | 1431 | | |
1431 | 1432 | | |
| |||
4438 | 4439 | | |
4439 | 4440 | | |
4440 | 4441 | | |
| 4442 | + | |
4441 | 4443 | | |
4442 | 4444 | | |
4443 | 4445 | | |
| |||
4447 | 4449 | | |
4448 | 4450 | | |
4449 | 4451 | | |
| 4452 | + | |
4450 | 4453 | | |
4451 | 4454 | | |
4452 | 4455 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
0 commit comments