Skip to content

Commit

Permalink
HUD: HMCS heading tape font change.
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaiVChr committed May 11, 2024
1 parent f4c16f4 commit dc4e6f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Nasal/HUD/hmd.nas
Original file line number Diff line number Diff line change
Expand Up @@ -1646,7 +1646,7 @@ var Heading = {
me.mark = make_path(me.group).vert(-25);
me.text = make_text(me.group)
.setAlignment("center-bottom")
.setTranslation(0, 45);
.setTranslation(0, 39);
me.text.enableUpdate();
me.long = 1;
},
Expand Down Expand Up @@ -1771,7 +1771,8 @@ var make_path = func(parent, fill=0) {
var make_text = func(parent) {
return parent.createChild("text")
# Mask the global "stroke" colour, cf. remarks above.
.set("stroke", "none");
.set("stroke", "none")
.setFont("NotoMono-Regular.ttf");
}

var isMarking = 0;
Expand Down

0 comments on commit dc4e6f4

Please sign in to comment.