Skip to content

Commit

Permalink
Misc: Show 2 decimal places in gamma AR preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotrekol committed Nov 4, 2024
1 parent b6607ad commit aa3a410
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
<ForceDesignerDpiUnaware>true</ForceDesignerDpiUnaware>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="StreamCompanionTypes" />
Expand Down
2 changes: 1 addition & 1 deletion plugins/Gamma/GammaSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void SetMapAR(double ar)
Invoke(() => SetMapAR(ar));
return;
}
label_mapAR.Text = $"Current map AR: {ar:0.#}";
label_mapAR.Text = $"Current map AR: {ar:0.##}";
}

private void checkBox_enabled_CheckedChanged(object sender, EventArgs e)
Expand Down

0 comments on commit aa3a410

Please sign in to comment.