(re-)set blend mode (Issue #115)

Fix contributed by Lezsák Domonkos
master
Hartmut Holzgraefe 2025-10-21 11:19:14 +00:00
rodzic 7fe57f1015
commit adae2f9091
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -1055,7 +1055,8 @@ class MultiPageRenderer(Renderer):
"""
ctx.save()
ctx.set_source_rgba(0, 0, 0, 0.7);
ctx.set_source_rgba(0, 0, 0, 0.7)
ctx.set_operator(cairo.Operator.OVER)
step_horiz = map_area_width_dots / map_grid.horiz_count
last_horiz_portion = math.modf(map_grid.horiz_count)[0]
@ -1260,6 +1261,7 @@ class MultiPageRenderer(Renderer):
"""
ctx.save()
ctx.set_font_size(14)
ctx.set_operator(cairo.Operator.OVER)
bbox = map_canvas.get_actual_bounding_box()
bottom_right, bottom_left, top_left, top_right = bbox.to_mercator()