diff options
author | Seth Hitefield <sdhitefield@gmail.com> | 2015-08-28 13:55:29 -0400 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2015-09-26 14:28:33 +0200 |
commit | aaf5aa760a6876d7f5b878c563e002da19157cdb (patch) | |
tree | ce070954fdc6f683a98f78da6d60337ce304e00e /grc/gui/FlowGraph.py | |
parent | 222e0003f9797a1b92d64855bd2b93f0d9099f93 (diff) |
grc: Flowgraph complexity. Shows under options block when enabled.
Diffstat (limited to 'grc/gui/FlowGraph.py')
-rw-r--r-- | grc/gui/FlowGraph.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/grc/gui/FlowGraph.py b/grc/gui/FlowGraph.py index b1e88aae8e..fc6a711572 100644 --- a/grc/gui/FlowGraph.py +++ b/grc/gui/FlowGraph.py @@ -285,10 +285,12 @@ class FlowGraph(Element): Draw all of the elements in this flow graph onto the pixmap. Draw the pixmap to the drawable window of this flow graph. """ + W,H = self.get_size() #draw the background gc.set_foreground(Colors.FLOWGRAPH_BACKGROUND_COLOR) window.draw_rectangle(gc, True, 0, 0, W, H) + # draw comments first if Actions.TOGGLE_SHOW_BLOCK_COMMENTS.get_active(): for block in self.iter_blocks(): |