Skip to content

Commit

Permalink
Bugfix : débordement intitulé Sequence dans Progression
Browse files Browse the repository at this point in the history
  • Loading branch information
cedrick-f committed Apr 6, 2018
1 parent b1e4e44 commit e07b3dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/draw_cairo_prg.py
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,7 @@ def DrawSequenceProjet(ctx, prg, lienDoc, rect, yd):
ctx.set_source_rgb (0,0,0)

# Si on ne peut pas afficher l'intitulé dessous, on le met à coté
rect = (x + hTacheMini, y, w, h)
rect = (x + hTacheMini, y, w - hTacheMini, h)
if rect[2] > 0:
show_text_rect(ctx, doc.intitule, rect,
ha = 'g', fontsizeMinMax = (minFont, 0.015 * COEF))
Expand Down

0 comments on commit e07b3dd

Please sign in to comment.