From b2382677f5cc5ef9b676853500ee2329b26fc8e5 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Wed, 3 May 2017 14:53:54 -0400
Subject: [PATCH] fix #272: ignore iemgui label size for bbox computation under
 legacy mode

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

diff --git a/pd/src/g_all_guis.c b/pd/src/g_all_guis.c
index ebe51981b..84748f1d8 100644
--- a/pd/src/g_all_guis.c
+++ b/pd/src/g_all_guis.c
@@ -297,7 +297,7 @@ void iemgui_label_getrect(t_iemgui x_gui, t_glist *x,
     int *xp1, int *yp1, int *xp2, int *yp2)
 {
     //fprintf(stderr,"gop_redraw = %d\n", gop_redraw);
-    if (!gop_redraw)
+    if (!gop_redraw || sys_legacy)
     {
         //fprintf(stderr,"ignoring label\n");
         return;
-- 
GitLab