DarkRadiant: master 8d351342

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 20.07.2021 19:15 master 50d683d6
Changeset 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.
mod - radiant/ui/surfaceinspector/SurfaceInspector.cpp Diff File
mod - radiant/ui/surfaceinspector/SurfaceInspector.h Diff File