summaryrefslogtreecommitdiff
path: root/grc/gui/Utils.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2017-01-06 22:01:06 +0100
committerSebastian Koslowski <koslowski@kit.edu>2017-01-06 22:01:06 +0100
commit0208d0c38ead050a6b35ddf31a806725ffd5e005 (patch)
treef4594d38e8e186c7d674146d462c4236d22173bb /grc/gui/Utils.py
parent10e7e270773a258b0356bafc3a5bbc4853f38a4c (diff)
grc: gtk3: fix canvas extent after 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 38fde80465..97c648c0a8 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.extend
+ x_min, y_min, x_max, y_max = flow_graph.extent
padding = Constants.CANVAS_GRID_SIZE
width = x_max - x_min + 2 * padding
height = y_max - y_min + 2 * padding