From ca749245195154f79fe875832d9ba52582622711 Mon Sep 17 00:00:00 2001
From: Ivica Ico Bukvic <ico@vt.edu>
Date: Mon, 2 Sep 2013 13:28:27 -0400
Subject: [PATCH] fixed regression where scrollbars were deleting other
 noscroll elements

---
 pd/src/pd.tk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pd/src/pd.tk b/pd/src/pd.tk
index 0319d25c2..81c27df6a 100644
--- a/pd/src/pd.tk
+++ b/pd/src/pd.tk
@@ -3295,7 +3295,8 @@ proc pdtk_canvas_draw_scrollbars {name} {
 	global SCROLL_THICKNESS
 	set name [string trimright $name .c]
 	catch {
-		$name.c delete noscroll
+		$name.c delete xscroll
+		$name.c delete yscroll
 	}
 	if {$::xscrollable($name)} {
 		set visible [$name.c xview]
-- 
GitLab