From 6039dfc746e3972a395decc333132006fea494a2 Mon Sep 17 00:00:00 2001 From: William Joye Date: Fri, 2 Jun 2017 16:41:14 -0400 Subject: fix info box physical and image format --- ds9/doc/release/r7.6.html | 1 + tksao/frame/base.C | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ds9/doc/release/r7.6.html b/ds9/doc/release/r7.6.html index 6552eb8..40cd4fc 100644 --- a/ds9/doc/release/r7.6.html +++ b/ds9/doc/release/r7.6.html @@ -97,6 +97,7 @@
  • 05.29.2017 RELEASE version 7.6b2
  • 06.01.2017 FITS: Fixed a problem with Healpix RING formats.
  • 06.02.2017 CUBE: Fixed a problem with command line -cube play command.
  • +
  • 06.02.2017 GUI: Phyical and Image coordinates in the Info box now displays with precision of 8.
  • xx.xx.2017 RELEASE version 7.6b3
  • diff --git a/tksao/frame/base.C b/tksao/frame/base.C index c0fbfcd..60cfb4a 100644 --- a/tksao/frame/base.C +++ b/tksao/frame/base.C @@ -687,7 +687,8 @@ void Base::doubleToTclArray(double d, const char* var, str << base << "," << mod << ends; ostringstream vstr; - vstr << fixed << setw(9) << setprecision(3) << d << ends; + vstr << setprecision(8) << d << ends; + // vstr << fixed << setw(9) << setprecision(3) << d << ends; Tcl_SetVar2(interp, (char*)var, str.str().c_str(), vstr.str().c_str(), 0); } -- cgit v0.12