Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove trailing decimals from Surface Inspector text boxes
For some reason the std::to_string standard library function converts floating point values into something like fixed-precision, with multiple trailing zeroes. This makes the displayed values in the Surface Inspector difficult to read. The new code is using the fmt::format function which produces more readable output similar to what std::cout would produce.
- Loading branch information
Matthew Mott
committed
Jul 20, 2021
1 parent
50d683d
commit 8d35134
Showing
2 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters