summaryrefslogtreecommitdiff
path: root/grc/gui/Utils.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2017-01-07 11:38:53 +0100
committerSebastian Koslowski <koslowski@kit.edu>2017-01-11 14:07:13 +0100
commit9460011e1834c07456ebad9b3549b06a0ad18fa6 (patch)
tree74c66e212341883019d375a42f9b5c6c14bc33ab /grc/gui/Utils.py
parent0208d0c38ead050a6b35ddf31a806725ffd5e005 (diff)
grc: gtk3: fix block layout sizes when zooming
Diffstat (limited to 'grc/gui/Utils.py')
-rw-r--r--grc/gui/Utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/Utils.py b/grc/gui/Utils.py
index 97c648c0a8..9c19daf0ba 100644
--- a/grc/gui/Utils.py
+++ b/grc/gui/Utils.py
@@ -114,7 +114,7 @@ def make_screenshot(flow_graph, file_path, transparent_bg=False):
if not file_path:
return
- x_min, y_min, x_max, y_max = flow_graph.extent
+ x_min, y_min, x_max, y_max = flow_graph.get_extents()
padding = Constants.CANVAS_GRID_SIZE
width = x_max - x_min + 2 * padding
height = y_max - y_min + 2 * padding