summaryrefslogtreecommitdiffstats
path: root/tksao/frame/text.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/frame/text.C')
-rw-r--r--tksao/frame/text.C9
1 files changed, 5 insertions, 4 deletions
diff --git a/tksao/frame/text.C b/tksao/frame/text.C
index bffb1fa..3bb2e0b 100644
--- a/tksao/frame/text.C
+++ b/tksao/frame/text.C
@@ -224,10 +224,11 @@ void Text::list(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky,
if (conj)
str << " ||";
- if (angle != 0)
- str << " textangle=" << setprecision(parent->precAngle_)
- << radToDeg(parent->mapAngleFromRef(angle,sys,sky));
-
+ if (angle != 0) {
+ str << " textangle=";
+ parent->listAngleFromRef(str,angle,sys,sky);
+ }
+
if (!rotate)
str << " textrotate=" << 0;
listProperties(str, 0);