nav resilience after pool restart, thinner marker rings, drop dead marker popup
This commit is contained in:
@@ -98,7 +98,7 @@ export async function exportMapPdf(opts) {
|
||||
const [r, g, b] = hexToRgb(entry.color)
|
||||
doc.setFillColor(r, g, b)
|
||||
// The page is always white, so the ring is the light-surface one throughout.
|
||||
doc.setDrawColor(markerRingColor('light')); doc.setLineWidth(0.4)
|
||||
doc.setDrawColor(markerRingColor('light')); doc.setLineWidth(0.3)
|
||||
doc.rect(lx, ly - swatch + 1, swatch, swatch, 'FD')
|
||||
doc.setTextColor('#333333')
|
||||
doc.text(label, lx + swatch + 4, ly)
|
||||
@@ -132,7 +132,7 @@ export async function exportMapPdf(opts) {
|
||||
const [r, g, b] = hexToRgb(fill)
|
||||
doc.setFillColor(r, g, b)
|
||||
// Prints on white, where a white ring is invisible - use the dark ring.
|
||||
doc.setDrawColor(markerRingColor('light')); doc.setLineWidth(0.6)
|
||||
doc.setDrawColor(markerRingColor('light')); doc.setLineWidth(0.4)
|
||||
doc.circle(x, y, radius, 'FD')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user