diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-06-16 17:41:47 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-06-16 17:41:47 (GMT) |
commit | b6c963d325c3498fafa6484219a0fae7784b2264 (patch) | |
tree | 65d76bb17d7d3ab66ecb466a6d3355d5290cdc45 /src | |
parent | 3a6f4f3ffc52f7215329bd806df161fc4272eba1 (diff) | |
download | blt-b6c963d325c3498fafa6484219a0fae7784b2264.zip blt-b6c963d325c3498fafa6484219a0fae7784b2264.tar.gz blt-b6c963d325c3498fafa6484219a0fae7784b2264.tar.bz2 |
fixed an redraw issue
Diffstat (limited to 'src')
-rw-r--r-- | src/tkbltGraph.C | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tkbltGraph.C b/src/tkbltGraph.C index 80dbace..bb1707d 100644 --- a/src/tkbltGraph.C +++ b/src/tkbltGraph.C @@ -255,7 +255,6 @@ void Graph::draw() // Update cache if needed if (flags & CACHE) { - // cerr << 'c'; drawMargins(cache_); switch (legend_->position()) { @@ -459,7 +458,7 @@ int Graph::print(const char* ident, PSOutput* psPtr) void Graph::eventuallyRedraw() { - if ((flags & GRAPH_DELETED) || !Tk_IsMapped(tkwin_)) + if (flags & GRAPH_DELETED) return; if (!(flags & REDRAW_PENDING)) { |