From e7f191a9e02e2aafd4fe5733318402fcaf6c021a Mon Sep 17 00:00:00 2001 From: Amy Bowersox Date: Wed, 11 Dec 2019 14:53:47 -0700 Subject: [PATCH] wrong procedure name stored in tool list --- scripts/demo1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/demo1.py b/scripts/demo1.py index ab1d7a8..69eb17a 100755 --- a/scripts/demo1.py +++ b/scripts/demo1.py @@ -94,8 +94,8 @@ def rubberband_line(x, y, down, up): tool_list = [ { 'icon': bmp_freehand, 'feedback': freehand_draw }, { 'icon': bmp_line, 'feedback': rubberband_line }, - { 'icon': bmp_rect, 'feedback': rubberband_rect }, - { 'icon': bmp_fillrect, 'feedback': rubberband_rect } + { 'icon': bmp_rect, 'feedback': rubberband_rectangle }, + { 'icon': bmp_fillrect, 'feedback': rubberband_rectangle } ] current_tool = 0