Skip to content

Commit

Permalink
change: hide flight path when roll != 0
Browse files Browse the repository at this point in the history
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
  • Loading branch information
Octol1ttle committed May 26, 2024
1 parent 3fd1208 commit 827a588
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public FlightPathDisplay(Dimensions dim) {

@Override
public void render(DrawContext context, TextRenderer textRenderer) {
if (!FAConfig.indicator().showFlightPath) {
if (!FAConfig.indicator().showFlightPath || Math.abs(data.roll) > 0.001f) {
return;
}

Expand Down

0 comments on commit 827a588

Please sign in to comment.