summaryrefslogtreecommitdiffstats
path: root/tksao
diff options
context:
space:
mode:
Diffstat (limited to 'tksao')
-rw-r--r--tksao/frame/frame.C4
1 files changed, 3 insertions, 1 deletions
diff --git a/tksao/frame/frame.C b/tksao/frame/frame.C
index 8e6402c..55df988 100644
--- a/tksao/frame/frame.C
+++ b/tksao/frame/frame.C
@@ -37,7 +37,7 @@ Frame::Frame(Tcl_Interp* i, Tk_Canvas c, Tk_Item* item)
maskMark = FitsMask::NONZERO;
maskLow = 0;
maskHigh = 0;
- maskSystem = Coord::PHYSICAL;
+ maskSystem = Coord::WCS;
}
Frame::~Frame()
@@ -527,6 +527,8 @@ void Frame::maskColorCmd(const char* color)
void Frame::maskSystemCmd(Coord::CoordSystem sys)
{
maskSystem = sys;
+ updateMaskMatrices();
+ update(MATRIX);
}
void Frame::maskTransparencyCmd(float tt)