From 81ca9fb23e8ed5962360e942da00eb80a3f97a78 Mon Sep 17 00:00:00 2001
From: Ivica Ico Bukvic <ico@vt.edu>
Date: Sat, 23 Feb 2013 02:35:32 -0500
Subject: [PATCH] further refinements to the zoom algorithm involving gop
 subpatchers and their required opening when zooming to ensure proper
 displacement of components (abstractions are unaffected)

---
 pd/src/g_editor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c
index 542ea23ce..70478b552 100644
--- a/pd/src/g_editor.c
+++ b/pd/src/g_editor.c
@@ -5430,7 +5430,7 @@ static void canvas_dofont(t_canvas *x, t_floatarg font, t_floatarg xresize,
 {
     t_gobj *y;
     x->gl_font = font;
-	if (x->gl_isgraph && !canvas_isabstraction(x))
+	if (x->gl_isgraph && !canvas_isabstraction(x) && (xresize != 1 || yresize != 1) && !glist_istoplevel(x))
 		vmess(&x->gl_pd, gensym("menu-open"), "");
     if (xresize != 1 || yresize != 1)
     {
-- 
GitLab