diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2017-01-07 11:38:53 +0100 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2017-01-11 14:07:13 +0100 |
commit | 9460011e1834c07456ebad9b3549b06a0ad18fa6 (patch) | |
tree | 74c66e212341883019d375a42f9b5c6c14bc33ab /grc/gui/Utils.py | |
parent | 0208d0c38ead050a6b35ddf31a806725ffd5e005 (diff) |
grc: gtk3: fix block layout sizes when zooming
Diffstat (limited to 'grc/gui/Utils.py')
-rw-r--r-- | grc/gui/Utils.py | 2 |
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 |