summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-06-02 20:41:14 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-06-02 20:41:14 (GMT)
commit6039dfc746e3972a395decc333132006fea494a2 (patch)
tree60fcbce7ccc10e27006e0520cd68b779f9423d58
parentc037b498a3c2269f52d6d480d849bd840d7ed637 (diff)
downloadblt-6039dfc746e3972a395decc333132006fea494a2.zip
blt-6039dfc746e3972a395decc333132006fea494a2.tar.gz
blt-6039dfc746e3972a395decc333132006fea494a2.tar.bz2
fix info box physical and image format
-rw-r--r--ds9/doc/release/r7.6.html1
-rw-r--r--tksao/frame/base.C3
2 files changed, 3 insertions, 1 deletions
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 @@
<li><tt><b>05.29.2017 RELEASE version 7.6b2</b></tt></li>
<li><tt>06.01.2017 FITS: Fixed a problem with Healpix RING formats.</tt></li>
<li><tt>06.02.2017 CUBE: Fixed a problem with command line -cube play command.</tt></li>
+ <li><tt>06.02.2017 GUI: Phyical and Image coordinates in the Info box now displays with precision of 8.</tt></li>
<li><tt><b>xx.xx.2017 RELEASE version 7.6b3</b></tt></li>
</ol>
</ol>
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);
}