From b6c963d325c3498fafa6484219a0fae7784b2264 Mon Sep 17 00:00:00 2001 From: William Joye Date: Thu, 16 Jun 2016 13:41:47 -0400 Subject: fixed an redraw issue --- src/tkbltGraph.C | 3 +-- 1 file changed, 1 insertion(+), 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)) { -- cgit v0.12