Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
adpare committed Mar 7, 2024
1 parent 0257658 commit 30f0f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mitreattack/navlayers/exporters/svg_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def export(self, showName, showID, layer, config, sort=0, scores=[], colors=[],
# create header text
header_glob = G(tx=index, ty=header_offset)
text_glob = G(tx=technique_width / 2, ty=technique_height / 2)
font_size, _ = _optimalFontSize(displayStr, technique_width, technique_height, config, maxFontSize=8)
font_size, _ = _optimalFontSize(displayStr, technique_width, technique_height, config, config.fontSize)
text = Text(ctype="TacticName", font_size=font_size, text=displayStr, position="middle")
text_glob.append(text)
header_glob.append(text_glob)
Expand Down

0 comments on commit 30f0f58

Please sign in to comment.