Skip to content

Commit

Permalink
fix: missing small ticks on heading tape (flybywiresim#8275)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saschl authored Oct 30, 2023
1 parent 8f6f017 commit 74f7d9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class HorizontalTape extends DisplayComponent<HorizontalTapeProps> {
result.ticks.push(<path class="NormalStroke White" d={`m68.913 145.34v${tickLength}`} style={`transform: translate3d(${dX}px, 0px, 0px)`} />);
result.ticks.unshift(<path class="NormalStroke White" d={`m68.913 145.34v${tickLength}`} style={`transform: translate3d(${-dX}px, 0px, 0px)`} />);
} else {
result.ticks.push(<path class="NormalStroke White" d={`m68.913 145.34v${tickLength * 0.42}`} style={`transform: translate3d(${dX}px, 0p,x 0px)`} />);
result.ticks.push(<path class="NormalStroke White" d={`m68.913 145.34v${tickLength * 0.42}`} style={`transform: translate3d(${dX}px, 0px, 0px)`} />);
result.ticks.unshift(<path class="NormalStroke White" d={`m68.913 145.34v${tickLength * 0.42}`} style={`transform: translate3d(${-dX}px, 0px, 0px)`} />);
}

Expand Down

0 comments on commit 74f7d9b

Please sign in to comment.